This commit is contained in:
yumoqing 2023-07-05 11:22:13 +08:00
parent 562005f55c
commit 866b403037

View File

@ -57,6 +57,7 @@ class AuthAPI(AppLogger):
@web.middleware @web.middleware
async def checkAuth(self,request,handler): async def checkAuth(self,request,handler):
print('checkAuth() called ..................')
path = request.path path = request.path
user = await auth.get_auth(request) user = await auth.get_auth(request)
is_ok = await self.checkUserPermission(user, path) is_ok = await self.checkUserPermission(user, path)