mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01: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)
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user