gdfsd
This commit is contained in:
parent
73bf0b3a30
commit
002e55476c
21 changed files with 1 additions and 129 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue