Skip to content

Node.js based forum software built for the modern web

fix: #8184 global mods unable to revoke other user sessions

Julian Lamf0db240a1d65
diff --git a/src/middleware/user.js b/src/middleware/user.js
index 9e794a6a9e..99f8e4c133 100644
--- a/src/middleware/user.js
+++ b/src/middleware/user.js
@@ -78,6 +78,8 @@ module.exports = function (middleware) {
if (!allowed) {
return controllers.helpers.notAllowed(req, res);
}
+
+ return next();
}
middleware.checkGlobalPrivacySettings = function checkGlobalPrivacySettings(req, res, next) {