bugfix
This commit is contained in:
parent
6b7d779d40
commit
59d517cbd5
@ -151,7 +151,8 @@ class AuthAPI:
|
||||
info(f'checkAuth() called ... {request.path=}')
|
||||
t1 = time.time()
|
||||
path = request.path
|
||||
user = await auth.get_auth(request)
|
||||
info = await get_session_userinfo(request)
|
||||
user = info.userid
|
||||
is_ok = await self.checkUserPermission(user, path)
|
||||
t2 = time.time()
|
||||
ip = get_client_ip(None, request)
|
||||
|
Loading…
Reference in New Issue
Block a user