fix(web): prevent redirect loop on Continue as default dev user (GRO-264) #170

Closed
groombook-engineer[bot] wants to merge 1 commits from fix/gro-264-dev-login-skip-button into main

1 Commits

Author SHA1 Message Date
Barkley Trimsworth 1e40f0622e fix(web): prevent redirect loop on Continue as default dev user
GRO-264: The "Continue as default dev user" button on /login clears
dev-user from localStorage then navigates to /admin, but App.tsx's
auth guard immediately redirects back to /login because getDevUser()
is null. Fix by setting a dev-login-skipped flag that App.tsx checks
to allow through-navigation after explicit skip.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-30 10:13:52 +00:00