mitai-jinkendo/frontend
Lars ca9112ebc0
All checks were successful
Deploy Development / deploy (push) Successful in 37s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s
fix: email verification auto-login and user experience
AuthContext:
- Added setAuthFromToken() for direct token/profile set
- Used for email verification auto-login (no /login request)
- Properly initializes session with token and profile

Verify.jsx:
- Fixed auto-login: now uses setAuthFromToken() instead of login()
- Added "already_verified" status for better UX
- Auto-redirect to /login after 3s if already verified
- Shows friendly message instead of error

This fixes:
- 422 Unprocessable Entity error during auto-login
- Empty dashboard page after verification (now redirects correctly)
- "Ungültiger Link" error on second click (now shows "bereits bestätigt")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 10:32:24 +01:00
..
public feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
src fix: email verification auto-login and user experience 2026-03-21 10:32:24 +01:00
Dockerfile feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
index.html feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
nginx.conf feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
package-lock.json feat: implement v9c feature enforcement system 2026-03-20 12:43:41 +01:00
package.json feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00
vite.config.js feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00