bugfix
This commit is contained in:
parent
674ec1626e
commit
7a65fb51c2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user