Node.js based forum software built for the modern web
closes #2818
psychobunny9bf55c96d265
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.jsindex 149e13cf0a..9f643d8736 100644--- a/public/src/modules/helpers.js+++ b/public/src/modules/helpers.js@@ -16,8 +16,13 @@if (properties) {if (properties.loggedIn && !data.loggedIn ||properties.adminOnly && !data.isAdmin ||- properties.installed && properties.installed.search && !data.searchEnabled ||- properties.hideIfPrivate && data.privateUserInfo) {+ properties.installed && properties.installed.search && !data.searchEnabled) {+ return false;+ }+ }++ if (item.route.match('/users')) {+ if (data.privateUserInfo && !data.isAdmin) {return false;}}