forked from MarseyWorld/MarseyWorld
allow me to enable login_required
parent
c6e349651c
commit
f7fe58cd95
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue