Commit Graph
5 Commits
Author SHA1 Message Date
jakeandClaude Opus 4.6 9e674f44aa Fix /setup unreachable for unauthenticated users
The proxy treated /setup as a protected route, redirecting unauthenticated
users to /login. This made first-run TMDB onboarding unreachable since
no users exist yet. Add /setup to public auth routes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 19:21:23 -05:00
jake 1b0cad1c83 Fix root redirect to rewrite so URL stays at / for logged-in users 2026-03-05 10:17:58 -05:00
jakeandClaude Opus 4.6 3511a76508 Improve fresh install flow and auth page routing
- Move /setup out of protected (pages) route group so it's accessible
  without auth (fixes fresh install redirect loop)
- Redirect /login → /register when zero users exist
- Add "Get Started" button on landing page for fresh installs
- Hide register button/link when registration is closed
- Add auth redirects: logged-in users on /login or /register → /dashboard
- Convert register page to server component with server-side checks
- Fix animation snap on auth form buttons (transition-all → scoped)
- Update proxy middleware with /login and /register routes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 13:58:15 -05:00
jakeandClaude Opus 4.6 64351cb896 Redirect authenticated users from landing page to dashboard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 13:00:06 -05:00
jake 076108d82a Rename middleware.ts to proxy.ts and export as proxy function 2026-03-02 14:39:56 -05:00