/** * Auth page templates: setup, login, TOTP, recovery. */ import { js } from "jsx-htmx"; import { MinimalLayout } from "./layout.js"; // ---- Setup ------------------------------------------------------------------ export function SetupPage(props: { error?: string; username?: string }) { return (

Create your admin account to get started.

3–64 characters. Letters, digits, underscore, hyphen.
At least 12 characters.
); } // ---- Login ------------------------------------------------------------------ export function LoginPage(props: { error?: string; username?: string; welcome?: boolean }) { return (
); } // ---- TOTP ------------------------------------------------------------------- export function TotpPage(props: { error?: string }) { return (

Enter the 6-digit code from your authenticator app.

Use a recovery code

); } // ---- Recovery --------------------------------------------------------------- export function RecoveryPage(props: { error?: string }) { return (

Enter one of your recovery codes. Each code can only be used once.

Back to authenticator code

); }