Phase 10, part 3: signing in and out, resets, locks and two-factor

The server edition now starts. Sign-in by email and password, limited per
address and per IP; ten failures in a row lock the account and email its
owner, and a reset by email (or an admin) unlocks it. Settings → Your
account has the profile, the password, where you're signed in, and
two-factor sign-in with an authenticator app (TOTP, from a QR code) and
ten recovery codes. The app's own mail goes through SUPERMARKET_MAIL_URL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 09:01:29 -07:00
co-authored by Claude Opus 5.5
parent 72455438c9
commit 8040512a18
26 changed files with 1991 additions and 12 deletions
+5
View File
@@ -496,3 +496,8 @@ dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.bare-main .card { padding: 1.5rem; }
.bare-main button[type="submit"] { width: 100%; }
.bare-shell .version { margin-top: auto; padding-top: 2rem; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.pill.ok { background: hsl(var(--ok-bg)); border-color: hsl(var(--ok) / 0.35); color: hsl(var(--ok)); }
img.qr { image-rendering: pixelated; background: #fff; padding: 0.5rem; border-radius: var(--radius-sm); border: 1px solid hsl(var(--border)); }
.sidebar-foot .who { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0.9rem; font-size: 0.85rem; color: hsl(var(--muted-foreground)); }
.sidebar-foot .who form { margin: 0; }
.sidebar-foot .who button { padding: 0.15rem 0.5rem; font-size: 0.8rem; }