From 78103029804980041fb4c0de032a03b9af1c6763 Mon Sep 17 00:00:00 2001 From: Navid Shad Date: Wed, 6 May 2026 13:19:34 +0300 Subject: [PATCH 1/2] fix: #86exgqfpu stabilize auth lifecycle and fix logout button - gate bootstrap on real user.type='user' so anonymous tokens no longer cascade into 412 logouts that wipe other tabs' sessions - guard login.vue's loginAsAnonymous so it skips when a user token is already loaded, preventing in-memory clobber on bookmark revisits - add axios 401/412 response interceptor that auto-clears stale tokens and redirects to /auth/login when protected calls fail with auth-bearing requests - re-save user token after bootstrap (login_with_token + profile store) as defense against external content-script overwrites - fix sign-out: hoist confirmation Modal out of the Dropdown body slot so the dropdown's