Fix proxy response on failed hasJoined

Dieser Commit ist enthalten in:
Lixfel 2022-10-06 07:34:46 +02:00
Ursprung dbbeb69526
Commit 922ef93b2f

Datei anzeigen

@ -189,7 +189,8 @@ class AltAuthRequestHandler(BaseHTTPRequestHandler):
except BaseException as e: except BaseException as e:
self.log_message("Exception handling request: %s", format_exc()) self.log_message("Exception handling request: %s", format_exc())
self.send_response(HTTPStatus.FORBIDDEN) # 204 matches failure response for hasJoined
self.send_response(HTTPStatus.NO_CONTENT)
self.end_headers() self.end_headers()
def log_request(self, code='-', size='-'): def log_request(self, code='-', size='-'):