mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
removing console.logs
This commit is contained in:
@@ -157,7 +157,6 @@
|
||||
router.hotswapId = 'auth';
|
||||
|
||||
plugins.ready(function() {
|
||||
console.log('reloading auth routes!');
|
||||
plugins.fireHook('filter:auth.init', login_strategies, function(err) {
|
||||
if (err) {
|
||||
winston.error('filter:auth.init - plugin failure');
|
||||
@@ -210,7 +209,6 @@
|
||||
router.post('/login', Auth.middleware.applyCSRF, login);
|
||||
|
||||
hotswap.replace('auth', router);
|
||||
console.log('now I\m here,', typeof callback);
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user