summaryrefslogtreecommitdiff
path: root/kvmd/plugins/auth/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/auth/http.py')
-rw-r--r--kvmd/plugins/auth/http.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/plugins/auth/http.py b/kvmd/plugins/auth/http.py
index e199069d..16c6500d 100644
--- a/kvmd/plugins/auth/http.py
+++ b/kvmd/plugins/auth/http.py
@@ -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)