diff --git a/ahserver/auth_api.py b/ahserver/auth_api.py index 3c940c3..dfddc47 100755 --- a/ahserver/auth_api.py +++ b/ahserver/auth_api.py @@ -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)