This commit is contained in:
yumoqing 2024-11-15 18:19:12 +08:00
parent 674ec1626e
commit 7a65fb51c2

View File

@ -169,7 +169,7 @@ class AuthAPI:
raise e
if user is None:
info(f'timecost=client({ip}) {user} access need login to access {path} ({t2-t1})')
info(f'timecost=client({ip}) {user} need login to access {path} ({t2-t1})')
raise web.HTTPUnauthorized
info(f'timecost=client({ip}) {user} access {path} forbidden ({t2-t1})')
raise web.HTTPForbidden()