Spec: §12 (UI scope — auth mechanism), §15 (auth resolved item), §10.
Login required even on LAN. A single-user password verified against an argon2 hash held as the AUTH_PASSWORD_HASH secret, establishing an HTTP-only server-side session cookie; one FastAPI dependency guards all routes and the SSE stream. No user table, no registration.
Acceptance criteria
Dependencies
Depends on: #2, #5
Spec: §12 (UI scope — auth mechanism), §15 (auth resolved item), §10.
Login required even on LAN. A single-user password verified against an argon2 hash held as the
AUTH_PASSWORD_HASHsecret, establishing an HTTP-only server-side session cookie; one FastAPI dependency guards all routes and the SSE stream. No user table, no registration.Acceptance criteria
POST /loginverifies the submitted password against the argon2 hash fromAUTH_PASSWORD_HASH.POST /logoutinvalidates the session.Dependencies
Depends on: #2, #5