allow me to enable login_required

master
Aevann 2024-07-03 14:27:40 +03:00
parent c6e349651c
commit f7fe58cd95
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ def change_settings(v, setting):
if setting == "offline_mode" and v.admin_level < PERMS["SITE_OFFLINE_MODE"]:
abort(403, "You can't change this setting!")
if setting == "login_required" and SITE == 'watchpeopledie.tv':
if setting == "login_required" and SITE == 'watchpeopledie.tv' and v.id != AEVANN_ID:
abort(403, "You can't change this setting!")
val = toggle_setting(setting)