diff --git a/authentik/root/asgi/error_handler.py b/authentik/root/asgi/error_handler.py index 5b2c26308..de04e7532 100644 --- a/authentik/root/asgi/error_handler.py +++ b/authentik/root/asgi/error_handler.py @@ -33,7 +33,6 @@ class ASGIErrorHandler: ) return await send( { - "type": "websocket.send", - "text": b"Internal server error", + "type": "websocket.close", } )