This commit is contained in:
parent
a402af4590
commit
a11ee74fc3
|
@ -74,6 +74,7 @@ def login_required(f):
|
|||
info = args[1]
|
||||
context = info.context
|
||||
req = context.get("request")
|
||||
print(req)
|
||||
is_authenticated, user_id = await check_auth(req)
|
||||
if not is_authenticated:
|
||||
# Raising HTTPUnauthorized exception if the user is not authenticated
|
||||
|
|
Loading…
Reference in New Issue
Block a user