mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: typo
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user