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