mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
refactor: tab rules
This commit is contained in:
@@ -73,7 +73,7 @@ module.exports = function (middleware) {
|
||||
await plugins.hooks.fire('response:middleware.authenticate', {
|
||||
req: req,
|
||||
res: res,
|
||||
next: function () {}, // no-op for backwards compatibility
|
||||
next: function () {}, // no-op for backwards compatibility
|
||||
});
|
||||
|
||||
if (!res.headersSent) {
|
||||
|
||||
Reference in New Issue
Block a user