Claude eb7103e97a Fix sign-up/login not always redirecting to profile
Two issues:
- The login page had no error handling around the sign-in call, so any
  hiccup (slow connection, first page compile, etc.) failed silently:
  the button stayed stuck on "Logging in..." with no redirect and no
  error shown.
- Both pages used a client-side router transition to move to /profile
  right after signing in, which can race with the session cookie
  landing in the browser. Switched to a full page navigation instead,
  which guarantees the cookie is present before /profile checks it.

Verified with a 10-run automated stress test (5 signups + 5 logins,
back to back with no delay) against a production build - all 10 now
land on /profile reliably.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VL5YUEf2B9LG4xdVUQwcSg
2026-09-28 05:36:58 +00:00
2026-09-24 23:42:56 +10:00
Languages
TypeScript 98.4%
JavaScript 1.2%
CSS 0.4%