mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update user_login_check.py
This commit is contained in:
@@ -12,7 +12,9 @@ from functools import wraps
|
||||
|
||||
def panel_login_required(func):
|
||||
|
||||
print('panel_login_required',func)
|
||||
|
||||
@wraps(func)
|
||||
def wrapper(*args, **kwargs):
|
||||
return func(*args, **kwargs)
|
||||
|
||||
return wrapper
|
||||
Reference in New Issue
Block a user