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

This commit is contained in:
Julian Lam
2020-02-26 12:26:52 -05:00
parent 7eb0053bd4
commit f0db240a1d

View File

@@ -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) {