mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +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)
|
htclient.raise_not_200(response)
|
||||||
return True
|
return True
|
||||||
except aiohttp.ClientResponseError as err:
|
except aiohttp.ClientResponseError as err:
|
||||||
if err.status in [401, 403]:
|
if err.status in [400, 401, 403]:
|
||||||
return False
|
return False
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user