This commit is contained in:
yumoqing 2023-06-12 11:05:27 +08:00
parent 70a713a8ed
commit d3a95abfe4

View File

@ -59,7 +59,7 @@ class AuthAPI(AppLogger):
# print(f'**{path} forbidden**') # print(f'**{path} forbidden**')
raise web.HTTPForbidden() raise web.HTTPForbidden()
async def checkUserPermission(user, path): async def checkUserPermission(self, user, path):
return True return True
async def needAuth(self,path): async def needAuth(self,path):