Send the admin login straight to Dex

A public custom script submits the OIDC form on /admin/login and CSS
hides the password form. /admin/login?local=1 (or a failed password
attempt) shows it for break-glass use; a 15s guard prevents loops.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-06 21:05:40 -05:00
co-authored by Claude Opus 5.5
parent e4a3d13870
commit baa2d4b521
4 changed files with 25 additions and 1 deletions
+3
View File
@@ -71,3 +71,6 @@ input::placeholder { color: var(--muted); }
.button.button-outline:hover { background: var(--surface); color: var(--accent-hover); }
.error { color: var(--error); }
.pg-page.pg-selected { background: var(--accent); color: var(--on-accent); }
/* Admin login is Dex only; ?local=1 (public.js) reveals the password form. */
.login form[action="/admin/login"], .login .center.small { display: none; }
.eom-local-login .login form[action="/admin/login"], .eom-local-login .login .center.small { display: block; }