mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #8184 global mods unable to revoke other user sessions
This commit is contained in:
@@ -78,6 +78,8 @@ module.exports = function (middleware) {
|
|||||||
if (!allowed) {
|
if (!allowed) {
|
||||||
return controllers.helpers.notAllowed(req, res);
|
return controllers.helpers.notAllowed(req, res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return next();
|
||||||
}
|
}
|
||||||
|
|
||||||
middleware.checkGlobalPrivacySettings = function checkGlobalPrivacySettings(req, res, next) {
|
middleware.checkGlobalPrivacySettings = function checkGlobalPrivacySettings(req, res, next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user