mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
mute 400 for auth client api
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user