auto-confirm admin during setup, skip email verification
Some checks failed
deploy / deploy (push) Has been cancelled
Some checks failed
deploy / deploy (push) Has been cancelled
Setup wizard no longer requires email delivery. Admin account is auto-confirmed and auto-logged-in via token redirect. Adds setup secret gate for prod (logged on boot), SMTP env var config in runtime.exs, email_configured? helper, and admin warning banner when email isn't set up. Includes plan files for this task and the follow-up email settings UI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -401,6 +401,21 @@
|
||||
border: 1px solid color-mix(in oklch, var(--t-status-error) 25%, var(--t-surface-base));
|
||||
}
|
||||
|
||||
.admin-banner-warning {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.625rem 1rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
background-color: color-mix(in oklch, var(--t-status-warning) 12%, var(--t-surface-base));
|
||||
color: var(--t-text-body);
|
||||
border-bottom: 1px solid color-mix(in oklch, var(--t-status-warning) 30%, var(--t-surface-base));
|
||||
|
||||
& .size-5 { color: var(--t-status-warning); }
|
||||
& code { font-size: 0.8125rem; }
|
||||
}
|
||||
|
||||
/* ── Modal ── */
|
||||
|
||||
.admin-modal {
|
||||
|
||||
Reference in New Issue
Block a user