core/backend/internal
enzo 780e5ec81d fix: auth redirect bug + cookie Secure + migration multi-statements
- fetchMe: handle ALL non-ok responses (not just 401) by calling tryRefresh
  → avoids user=null when backend returns 404/500/any error
- DOMContentLoaded guard: check isAuthenticated instead of localStorage token
  → immediate redirect if fetchMe+tryRefresh both fail, no more flash of dashboard
- Cookie Secure flag: check X-Forwarded-Proto header for Traefik/proxy setup
  → cookie gets Secure=true when behind TLS-terminating reverse proxy
- db.go migrate(): split SQL by ; and exec each statement separately
  → fixes SQLite multi-statement limitation (only first stmt was executed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 22:29:22 +01:00
..
api fix: auth redirect bug + cookie Secure + migration multi-statements 2026-03-21 22:29:22 +01:00
audit feat: initialisation complète du CORE ProxmoxPanel 2026-03-20 21:08:53 +01:00
auth fix: SSHAuthenticator vide après installation + logs debug 2026-03-20 23:39:52 +01:00
crypto feat: initialisation complète du CORE ProxmoxPanel 2026-03-20 21:08:53 +01:00
db fix: auth redirect bug + cookie Secure + migration multi-statements 2026-03-21 22:29:22 +01:00
logbuffer feat: nettoyage menu + suppression modules inexistants + log viewer 2026-03-20 23:57:07 +01:00
proxmox feat: initialisation complète du CORE ProxmoxPanel 2026-03-20 21:08:53 +01:00
ssh feat: initialisation complète du CORE ProxmoxPanel 2026-03-20 21:08:53 +01:00
websocket feat: initialisation complète du CORE ProxmoxPanel 2026-03-20 21:08:53 +01:00