mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
create auth routes only after plugin system is enabled and auth.init hook is fired
This commit is contained in:
@@ -348,7 +348,7 @@ var path = require('path'),
|
||||
|
||||
app.namespace(nconf.get('relative_path'), function () {
|
||||
|
||||
auth.createRoutes(app);
|
||||
auth.registerApp(app);
|
||||
admin.createRoutes(app);
|
||||
userRoute.createRoutes(app);
|
||||
apiRoute.createRoutes(app);
|
||||
|
Reference in New Issue
Block a user