From 4d99c9d99d44fb7df569dba6132b3bd44859db57 Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Thu, 11 Jun 2026 10:49:21 -0400 Subject: [PATCH] feat(frontend): validate persisted session on app boot A stale or revoked token previously rendered the full panel chrome and only collapsed on the first API call. App boot now calls /auth/me through useApi (401 -> refresh -> logout already handled there); user profile refreshes on success, and non-auth failures (network, 5xx) never log the user out. Co-Authored-By: Claude Fable 5 --- frontend/src/App.vue | 7 +++++++ frontend/src/stores/auth.ts | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 321eb9f..1b1b932 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,7 +1,14 @@