DEV Community

Discussion on: How to verify your users' email addresses | Node.js/Express

Collapse
 
jomiva profile image
Jose Valera

If the email is "in use" but not verified, the email's user can the recover password or send another code activation to its email.

Collapse
 
gersilva96 profile image
Germán

Thank you! I solved that problem very similar to what you say.

Collapse
 
opeolluwa profile image
ADEOYE ADEFEMI OPEOLUWA

One thing I'll suggest is, once a user post BioData for account registration, check if mail exist

If (mail_exist){

is_mail_verified ? {ask user to confirm identity, by sending verification link to mail} : { redirect to login }

}

else{
register user and verify email
}

Collapse
 
opeolluwa profile image
ADEOYE ADEFEMI OPEOLUWA

One thing I'll suggest is, once a user post BioData for account registration, check if mail exist :

If (mail_exist)

is_mail_verified ? {ask user to confirm identity, by sending verification link to mail} : { redirect to login }

}

else{
register user and verify email
}

Collapse
 
opeolluwa profile image
ADEOYE ADEFEMI OPEOLUWA

One thing I'll suggest is, once a user post BioData for account registration, check if mail exist :

If (mail_exist)

**is_mail_verified ?**  {ask user to confirm identity, by sending verification link to mail} : {  redirect to login }

}

else{
register user and verify email
}
Enter fullscreen mode Exit fullscreen mode


`