Skip to content

How do you send email confirmation with react/react-native and Adonis? #1385

Discussion options

You must be logged in to vote

I would try to get all his data from the application, save it in the bank, have a column as active or confirmed starting in false, if it had been registered I would send an autologin link to his email, that is, with a token, when clicked it would update the active / confirmed column to true.

if he tried to login I would check if it was true or false, if true would return the login, if not the message "email needs to be confirmed"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreCosta101
Comment options

Answer selected by AndreCosta101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants