mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-25 20:15:37 +02:00
When a session token expired while the user was idle, API calls returned 401 but the frontend silently showed an empty issues list instead of redirecting to login. Two changes: 1. onUnauthorized now clears auth store state and calls onLogout, so DashboardGuard detects the missing user and redirects to login. 2. QueryClient no longer retries 401 errors (pointless when auth is gone). Closes #951