Hello everyone,
I need help figuring out a good workflow in the log-in process to show a modal, asking the user to input the 4 digit code that was sent to the email, if their email is not confirmed. The workflow so far:
- User fills email and password.
- User clicks submit button that triggers “security-login”.
- Server queries ‘is_email_confirmed’ based on the identity from step 2.
- (I’m already stuck here )
I also haven’t figured out how to generate the random 4 digit code server side, need some input on it as well.
thank you in advance!
Community Page
Last updated:
Last updated: