mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 00:10:25 +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:
@@ -62,8 +62,6 @@ if(nconf.get('ssl')) {
|
||||
}, function(err, data) {
|
||||
middleware = middleware(app, data);
|
||||
routes(app, middleware);
|
||||
plugins.prepareApp(app, middleware);
|
||||
auth.registerApp(app, middleware);
|
||||
|
||||
if (err) {
|
||||
winston.error('Errors were encountered while attempting to initialise NodeBB.');
|
||||
|
||||
Reference in New Issue
Block a user