fix: typo

v1.18.x
Barış Soner Uşaklı 6 years ago
parent fc89516e3f
commit a251032f02

@ -14,9 +14,9 @@ var loginStrategies = [];
var Auth = module.exports;
Auth.initialize = function (app, middleware) {
const passwortInitMiddleware = passport.initialize();
const passportInitMiddleware = passport.initialize();
app.use(function passportInitialize(req, res, next) {
passwortInitMiddleware(req, res, next);
passportInitMiddleware(req, res, next);
});
const passportSessionMiddleware = passport.session();
app.use(function passportSession(req, res, next) {

Loading…
Cancel
Save