You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The API client's 401 handler was intercepting responses from /auth/* endpoints (login, register, me), throwing "Session expired" before the actual response could reach the caller. This prevented the login form from working — the AuthProvider's me() call returned 401, threw, and the error propagated into the login flow. Now the 401 redirect only triggers for non-auth API calls (where it genuinely indicates an expired session). Auth endpoints handle their own error responses normally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
2 months ago | |
|---|---|---|
| .. | ||
| __tests__ | 2 months ago | |
| api | 2 months ago | |
| components | 2 months ago | |
| contexts | ||
| i18n | 2 months ago | |
| pages | 2 months ago | |
| utils | 3 months ago | |
| App.tsx | 3 months ago | |
| env.d.ts | ||
| index.css | ||
| index.tsx | ||
| types.ts | 3 months ago | |