mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved
This commit is contained in:
@@ -129,7 +129,7 @@ module.exports = function(app, data) {
|
||||
|
||||
app.use(middleware.processRender);
|
||||
|
||||
auth.initialize(app);
|
||||
auth.initialize(app, middleware);
|
||||
|
||||
routeCurrentTheme(app, data.currentThemeId, data.themesData);
|
||||
routeThemeScreenshots(app, data.themesData);
|
||||
|
||||
Reference in New Issue
Block a user