Add gateway sessions page and end sessions on credential change

This commit is contained in:
Eduardo Silva
2026-11-21 16:43:06 -03:00
parent 7fd1a4fbc3
commit bf71df194d
24 changed files with 957 additions and 13 deletions
@@ -62,6 +62,7 @@ async def auth_check(request: Request):
response = PlainTextResponse("OK", status_code=200)
response.headers["Cache-Control"] = "no-store"
if session:
request.app.state.session_service.touch(session)
if session.username:
response.headers["X-Auth-User"] = _safe_header(session.username)
if session.email: