Merge branch 'main' of 172.30.1.72:egullickson/motovaultpro
All checks were successful
Deploy to Staging / Build Images (push) Successful in 2m40s
Deploy to Staging / Deploy to Staging (push) Successful in 28s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 6s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2026-01-18 15:34:49 -06:00

View File

@@ -26,6 +26,14 @@ export const HomePage = () => {
return; return;
} }
// Check if user has a pending email verification (signed up but not verified)
const pendingVerificationEmail = localStorage.getItem('pendingVerificationEmail');
if (pendingVerificationEmail) {
// Redirect to verify-email page with the stored email
navigate('/verify-email', { state: { email: pendingVerificationEmail } });
return;
}
loginWithRedirect({ appState: { returnTo: '/garage' } }); loginWithRedirect({ appState: { returnTo: '/garage' } });
}; };