This commit is contained in:
Aevann1 2022-01-09 02:35:53 +02:00
parent 09fe19c26b
commit 93ce52b766
2 changed files with 4 additions and 3 deletions

View file

@ -46,7 +46,6 @@ def make_admin(v, username):
@admin_level_required(3)
@validate_formkey
def remove_admin(v, username):
if request.host == 'rdrama.net': abort(403)
user = get_user(username)
if not user: abort(404)
user.admin_level = 0