mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
mute 400 for auth client api
This commit is contained in:
parent
29dd78c247
commit
e05594ac04
@ -60,7 +60,7 @@ class _AuthApiPart(_BaseApiPart):
|
||||
htclient.raise_not_200(response)
|
||||
return True
|
||||
except aiohttp.ClientResponseError as err:
|
||||
if err.status in [401, 403]:
|
||||
if err.status in [400, 401, 403]:
|
||||
return False
|
||||
raise
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user