Add auth expiry interceptor and session-expired redirect
This commit is contained in:
@@ -111,7 +111,7 @@ Issues are grouped by category and ordered roughly by severity. Each entry descr
|
||||
|
||||
---
|
||||
|
||||
### TASK-006 — No 401 interceptor: expired sessions show broken pages instead of redirecting
|
||||
### TASK-006 — No 401 interceptor: expired sessions show broken pages instead of redirecting (done)
|
||||
|
||||
**Where found:** `frontend/src/api/client.ts`, `request` function. All non-2xx responses including 401 are thrown as a generic `ApiError`. Consumers render "Failed to load…" messages instead of redirecting.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user