1
0
Fork 0
polaris-task-force/src/components/frontend/auth
Z8MB1E 1f9f919443 feat(auth): add return-URL flow for login redirects
Add LoginLink client component that captures current path via usePathname()
and passes it as returnTo query param. Update login page to read and
sanitize returnTo (open-redirect guard: must start with /, reject //).
Update LoginForm to redirect to returnTo after successful login. Wire
LandingPage CTA through LoginLink. Add returnTo redirect for already-
authed users hitting /login. Add return-URL to flappy page redirect.
Remove trailing blank line from (frontend) layout.
2026-08-19 19:48:24 -04:00
..
LoginForm.tsx feat(auth): add return-URL flow for login redirects 2026-08-19 19:48:24 -04:00
LoginLink.tsx feat(auth): add return-URL flow for login redirects 2026-08-19 19:48:24 -04:00