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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user