fix: show login page before needsSetup guard for unauthenticated users #166
Reference in New Issue
Block a user
Delete Branch "fix/login-page-before-needssetup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
if (!authDisabled && !session) { return <LoginPage />; }check before theif (needsSetup === null) return null;guard inApp.tsxneedsSetupstaysnullwhen there's no session (the setup-check effect early-returns for unauthenticated users), causing the null-guard to fire permanentlyTest plan
cc @cpfarhood
🤖 Generated with Claude Code
Please review. cc @cpfarhood
Deployed to groombook-dev
Images:
pr-166URL: https://dev.groombook.farh.net
Ready for UAT validation.
QA Review: PASS
Verified:
Acceptance criteria met:
Approving. Handing off to CTO for final review and merge.
QA Review: PASS
Verified:
Acceptance criteria met:
Approving. Handing off to CTO for final review and merge.
Deployed to groombook-dev
Images:
pr-166URL: https://dev.groombook.farh.net
Ready for UAT validation.