fix: redirect unverified users to verification page (#53) #54
Reference in New Issue
Block a user
Delete Branch "issue-53-login-button-unverified-users"
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
pendingVerificationEmailin localStorage (set during signup)/verify-emailpage instead of attempting Auth0 loginRoot Cause
When an unverified user clicks Login:
isAuthenticatedis true, navigates to/garageSolution
Before calling
loginWithRedirect, check if the user has a pending verification:Test Plan
Fixes #53