Session death drops the SPA onto the sign-in screen without a reload
Any 401 from any API call fires gncreds:unauthenticated; the App listens
and switches to the internal sign-in card immediately, so a finished
session (global auth logout, TTL, revoked session) is visible at once
instead of letting the app look alive while every request fails. api.js
also stops retrying 4xx answers — only network errors and 5xx are
retried, so a dead session is not re-sent three times with backoff.

Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 27f95b4 commit 287b7a0d615464c7a0c31d231f5a8a409491e9d2
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 1 hour ago
Showing 2 changed files
View
frontend/src/App.vue
View
frontend/src/api.js