🐛 Also trigger login dialog eval on permission change
Not just on logout. Follow-up to #3425
This commit is contained in:
1 parent
3f3cb556a7
commit
8d31d6687e
1 file changed
+1
-1
@@ -40,7 +40,7 @@ $(function() {
|
||||
});
|
||||
};
|
||||
|
||||
self.onUserLoggedOut = function() {
|
||||
self.onUserLoggedOut = self.onUserPermissionsChanged = function() {
|
||||
if (!self.loginState.hasAllPermissions(self.access.permissions.STATUS, self.access.permissions.SETTINGS_READ)) {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user