bugfix
This commit is contained in:
parent
562005f55c
commit
866b403037
@ -57,6 +57,7 @@ class AuthAPI(AppLogger):
|
||||
|
||||
@web.middleware
|
||||
async def checkAuth(self,request,handler):
|
||||
print('checkAuth() called ..................')
|
||||
path = request.path
|
||||
user = await auth.get_auth(request)
|
||||
is_ok = await self.checkUserPermission(user, path)
|
||||
|
Loading…
Reference in New Issue
Block a user