Skip to content

Node.js based forum software built for the modern web

fixes #6765 -- no need to have gmods and admins access login sessions page

Julian Lam382d06bbb0f3
diff --git a/src/controllers/accounts/helpers.js b/src/controllers/accounts/helpers.js
index 7272496cc8..12f7674563 100644
--- a/src/controllers/accounts/helpers.js
+++ b/src/controllers/accounts/helpers.js
@@ -73,8 +73,8 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) {
self: true,
other: false,
moderator: false,
- globalMod: true,
- admin: true,
+ globalMod: false,
+ admin: false,
},
}, {
id: 'consent',