# Click login/signup for the 2nd time before email was verified

**URL:** <https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893>\
**Category:** Get Help\
**Tags:** email-verification\
**Created:** [February 15, 2021, 5:16pm UTC](https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893 "2021-02-15T17:16:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shay/32/27615_2.png) [@shay](https://community.auth0.com/u/shay)\
**Post date:** [February 15, 2021, 5:16pm UTC](https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893/1 "2021-02-15T17:16:32Z")

</div>

Hi,  
on my web app, in a bad flow, the user signup, but hasn’t clicked the validation email.  
then clicks on login for the 2nd time, maybe because the email he use was wrong, or he deleted the validation email by mistake.  
the hosted site, still keeps a cookie and will imminently redirects the user back to my application.

is there a way to change this behavior, and provide some functionality to signs up with a different email or provide the functionality to re-send the validation email?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [February 18, 2021, 3:41pm UTC](https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893/3 "2021-02-18T15:41:15Z")

</div>

Hi @shay,

Welcome to the Community!

You can force email verification in a rule as described here: [Verify Emails using Auth0](https://auth0.com/rules/email-verified)

The user will be redirected to your application with an error in the URL query params.

example: `http://YOUR_APP_URL/?error=unauthorized&error_description=Please%20verify%20your%20email%20before%20logging%20in.&state=123abc%3D%3D`)

Your application can display a user-friendly error message based on the error.

---

<div class="post-metadata">

**Author:** ![shay](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shay/32/27615_2.png) [@shay](https://community.auth0.com/u/shay)\
**Post date:** [February 18, 2021, 4:51pm UTC](https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893/4 "2021-02-18T16:51:24Z")

</div>

Hi @stephanie.chamblee,  
I was expecting a hosted form with options to resend the verification email and use another email, in case the user entered the wrong address.

we ended up implementing those ourselves.

Thanks,  
Shay

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 5, 2021, 4:51pm UTC](https://community.auth0.com/t/click-login-signup-for-the-2nd-time-before-email-was-verified/57893/5 "2021-03-05T16:51:38Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
