Authentification : login/mot de passe (admin/admin par défaut)

- Page de connexion, session 7 jours par cookie HMAC signé (secret persisté)
- Protection de l'API (401) et du WebSocket (code 4401), / redirige vers /login
- Bouton de déconnexion, redirection automatique à l'expiration de session
- Identifiants configurables via LIVEFLOW_USER / LIVEFLOW_PASSWORD

https://claude.ai/code/session_01YHMp3EKzr4s6o8w1ygxuUe
This commit is contained in:
Claude committed 2026-06-12 12:43:39 +00:00
1 parent c9b4094049
commit b802a3c95f
9 files changed
+199 -7

No files matched your search

+8
View File
@@ -41,6 +41,14 @@ header h1 { font-size: 1.2rem; }
.badge.busy { background: #2a2410; color: #ffd166; }
.badge.error { background: #3a181a; color: #ff8589; }
#logout-btn {
margin-left: auto;
font-size: 0.8rem;
padding: 6px 12px;
color: var(--muted);
}
#logout-btn:hover { color: var(--text); }
.layout { display: flex; flex: 1; min-height: 0; }
aside {