fix make admin button

master
Aevann 2023-01-25 03:53:20 +02:00
parent 9327ef6eed
commit 585d8f9695
1 changed files with 0 additions and 2 deletions

View File

@ -79,8 +79,6 @@ def edit_rules_post(v):
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@admin_level_required(PERMS['ADMIN_ADD'])
def make_admin(v:User, username):
if SITE == 'rdrama.net': abort(403)
user = get_user(username)
user.admin_level = PERMS['ADMIN_ADD_PERM_LEVEL']