This commit is contained in:
@@ -40,6 +40,7 @@ def login_required(f):
|
|||||||
async def decorated_function(*args, **kwargs):
|
async def decorated_function(*args, **kwargs):
|
||||||
info = args[1]
|
info = args[1]
|
||||||
context = info.context
|
context = info.context
|
||||||
|
print(context)
|
||||||
req = context.get("request")
|
req = context.get("request")
|
||||||
is_authenticated, user_id = await check_auth(req)
|
is_authenticated, user_id = await check_auth(req)
|
||||||
if not is_authenticated:
|
if not is_authenticated:
|
||||||
|
|||||||
Reference in New Issue
Block a user