This commit is contained in:
Aevann1 2021-10-08 04:14:54 +02:00
parent 73bf0b3a30
commit 002e55476c
21 changed files with 1 additions and 129 deletions

View file

@ -107,7 +107,6 @@ def auth_desired(f):
def auth_required(f):
# decorator for any view that requires login (ex. settings)
def wrapper(*args, **kwargs):
@ -120,7 +119,6 @@ def auth_required(f):
g.v = v
# an ugly hack to make api work
resp = make_response(f(*args, v=v, **kwargs))
return resp
@ -129,7 +127,6 @@ def auth_required(f):
def is_not_banned(f):
# decorator that enforces lack of ban
def wrapper(*args, **kwargs):