init
This commit is contained in:
9
web/commons/helpers/auth.py
Normal file
9
web/commons/helpers/auth.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from functools import wraps
|
||||
|
||||
|
||||
def basic_auth_required(f):
|
||||
@wraps(f)
|
||||
def decorated_function(*args, **kwargs):
|
||||
return f(*args, **kwargs)
|
||||
|
||||
return decorated_function
|
Reference in New Issue
Block a user