mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix(emails): remove debug log
This commit is contained in:
@@ -264,8 +264,6 @@ module.exports = function (middleware) {
|
|||||||
return setImmediate(next);
|
return setImmediate(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('middleware hit', req.session);
|
|
||||||
|
|
||||||
const path = req.path.startsWith('/api/') ? req.path.replace('/api', '') : req.path;
|
const path = req.path.startsWith('/api/') ? req.path.replace('/api', '') : req.path;
|
||||||
const { allowed } = await plugins.hooks.fire('filter:middleware.registrationComplete', {
|
const { allowed } = await plugins.hooks.fire('filter:middleware.registrationComplete', {
|
||||||
allowed: ['/register/complete'],
|
allowed: ['/register/complete'],
|
||||||
|
|||||||
Reference in New Issue
Block a user