4 changed files with 11 additions and 11 deletions
@ -1,10 +1,9 @@ |
|||
from functools import wraps |
|||
|
|||
|
|||
def login_required(func): |
|||
def wrap(func): |
|||
@wraps(func) |
|||
def wrapper(*args, **kwargs): |
|||
# login functionality could come here |
|||
return func(*args, **kwargs) |
|||
|
|||
return wrapper |
|||
Loading…
Reference in new issue