allowAdminPanel => adminAllowed

This commit is contained in:
djmaze 2021-12-28 14:49:21 +01:00
parent 2a01d8c991
commit c1dd6edc28
4 changed files with 5 additions and 6 deletions

View file

@ -17,7 +17,7 @@ class AdminApp extends AbstractApp {
}
start() {
if (!Settings.app('allowAdminPanel')) {
if (!Settings.app('adminAllowed')) {
rl.route.root();
setTimeout(() => location.href = '/', 1);
} else if (SettingsGet('Auth')) {