Skip to content

Node.js based forum software built for the modern web

fix: typo

Barış Soner Uşaklıa251032f026f
diff --git a/src/routes/authentication.js b/src/routes/authentication.js
index f29a95884a..88d797a5a3 100644
--- a/src/routes/authentication.js
+++ b/src/routes/authentication.js
@@ -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) {