The /cashup/api/auth/ → central auth nginx block was missing, so the logout
POST was hitting the app backend and returning 404 — cookie never cleared,
user stayed logged in. Also removes the stale navigate('/login') call and
shows name + email in the sidebar footer instead of name in the header.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| components | ||
| hooks | ||
| pages | ||
| api.ts | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| types.ts | ||
| vite-env.d.ts | ||