# Reset Password - email message states successfully send to email that doesn't exist

**URL:** <https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476>\
**Category:** Get Help\
**Created:** [November 1, 2018, 11:00am UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476 "2018-11-01T11:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdkatz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jdkatz/32/13246_2.png) [@jdkatz](https://community.auth0.com/u/jdkatz)\
**Post date:** [November 1, 2018, 11:00am UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476/1 "2018-11-01T11:00:00Z")

</div>

Hi is there a possibility to show an error message when a user enters an email that doesnt exist when trying to reset their password. Right now Auth0 shows a message that the email was sent successfully which is misleading to the user.

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [November 1, 2018, 3:07pm UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476/2 "2018-11-01T15:07:12Z")

</div>

I don’t think this can be changed, but someone with more experience may correct me!

No error is shown because throwing an error saying the email doesn’t exist leaks information … I can use that to find out your user’s email addresses.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 2, 2018, 9:34am UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476/4 "2018-11-02T09:34:58Z")

</div>

Hey @jdkatz!

Can you let me know which stack do you use? Did you go for Lock or are you trying to achieve that using our Authentication API? Thanks for clarification!

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [November 2, 2018, 1:35pm UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476/5 "2018-11-02T13:35:03Z")

</div>

As @markd mentions, this is a well-known security risk and mentioned by OWASP:

[https://www.owasp.org/index.php/Testing\_for\_User\_Enumeration\_and\_Guessable\_User\_Account\_(OWASP-AT-002)](https://www.owasp.org/index.php/Testing_for_User_Enumeration_and_Guessable_User_Account_(OWASP-AT-002))

In addition we mention it in a recent blog:

> **[Tour Through the OWASP Top 10 Critical Web Application Security Risks](https://auth0.com/blog/a-run-through-the-owasp-top-10/)**
>
> Let's take a run through the OWASP Top 10 Most Critical Web Application Security Risks looking at the threats and learn how Auth0 can hel...

> It’s also good practice to purposefully use vague login failure messages when your users enter an incorrect username or password. Otherwise, attackers may be able to identify valid accounts that they could use in order to instigate an attack.

---

<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:** [December 2, 2018, 1:35pm UTC](https://community.auth0.com/t/reset-password-email-message-states-successfully-send-to-email-that-doesnt-exist/17476/6 "2018-12-02T13:35:05Z")

</div>

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