mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 10:26:38 +08:00
paranoid access for some reasons
This commit is contained in:
parent
fdba228eed
commit
6d1199c95c
@ -90,6 +90,7 @@ class Plugin(BaseAuthService):
|
||||
try:
|
||||
async with session.request(**kwargs) as response:
|
||||
response.raise_for_status()
|
||||
assert response.status == 200
|
||||
return True
|
||||
except Exception:
|
||||
get_logger().exception("Failed HTTP auth request for user %r", user)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user