aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/auth.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 15:36:49 +0000
committertv <tv@krebsco.de>2026-11-08 16:47:13 +0100
commit0f55d5741b3dfda617670f92a77c3cd6e462be6d (patch)
tree38d9c2064dad9ad6647de6b593e2d7c5c554fc00 /src/api/auth.rs
parentd48aa13cad73030095fd2677ec0b4cea95912eba (diff)
dashboard: log out of this browser, and say what can't be
The dashboard had no way to log out; only the login page did. It now shows the user beside the connection, and "log out" where the page got in by its session: that ends this browser's session (DELETE /auth/session), other sessions of the user going on, and opens the login page. Where it got in by what it can't end, the browser's password or the proxy's, it says so instead (the token answer now names `login`, how the user proved it). After logging out, a page still let in by the browser's password says so too. A list of a user's sessions, to end one by one, is in future-work.md.
Diffstat (limited to 'src/api/auth.rs')
0 files changed, 0 insertions, 0 deletions