Auth rework

This commit is contained in:
seb
2026-06-23 11:08:40 +02:00
parent 24f68c94f3
commit 09f53b5ac2
8 changed files with 27 additions and 34 deletions

View File

@@ -42,5 +42,6 @@ requirement without needing HTTPS on the frontend dev server.
- `src/api/index.js` — all backend communication (`credentials: 'include'`).
- `src/auth/googleSignIn.js` — Google Identity Services helper.
- `src/auth/AuthContext.jsx` — session state + login/logout.
- `src/auth/AuthProvider.jsx` — session state + login/logout.
- `src/auth/useAuth.js` — auth context hook.
- `src/components/*` — small function components with local state.