mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 03:28:16 +02:00
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
var loggedIn = data.config ? data.config.loggedIn : false;
|
||||
if (properties) {
|
||||
if ((properties.loggedIn && !loggedIn) ||
|
||||
(properties.guestOnly && loggedIn) ||
|
||||
(properties.globalMod && !data.isGlobalMod && !data.isAdmin) ||
|
||||
(properties.adminOnly && !data.isAdmin) ||
|
||||
(properties.searchInstalled && !data.searchEnabled)) {
|
||||
|
||||
Reference in New Issue
Block a user