# How do you disable login errors due to leaked credentials?

**URL:** <https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526>\
**Category:** Get Help\
**Tags:** blocked-account, alerts, account\
**Created:** [October 19, 2017, 7:01pm UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526 "2017-10-19T19:01:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![david4](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david4](https://community.auth0.com/u/david4)\
**Post date:** [October 19, 2017, 7:01pm UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/1 "2017-10-19T19:01:22Z")

</div>

How do I disable this heinous atrocity? It is freaking out our customers and has nothing to do with our app. Auth0 has been ok so far, but this is a real flop from their product team, you are supposed to behave like a white-label manner, not flush our UX down the toilet with scary alerts that provide no context.

![alt text][1]

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 19, 2017, 9:23pm UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/2 "2017-10-19T21:23:21Z")

</div>

There’re a couple of things worth mentioning in relation to this situation. The behavior you describe is part of [anomaly detection](https://auth0.com/docs/anomaly-detection), in particular, the [breached password detection](https://auth0.com/docs/anomaly-detection#breached-password-detection). You can disable this functionality through your dashboard (IIRC, by default it starts as disabled for a new tenant/domain) which should then eliminate the source of the error message in question.

In addition, when using Lock, you can fully customize the text displayed by the library so in this case you could provide a custom error message by doing something similar to the following:

```
options.languageDictionary.error.login.password_leaked = "[your_custom_msg_with_context_here]";

```

Finally, it’s correct that the source of the issue not related to your client application, however, the end-user is performing authentication with credentials that are available online for someone sufficiently determined to find which means that the account that end-user has in your own client application can be controlled by attackers. In this scenario, even if the source of the issue is not your client application I would say the end-users would be more comfortable in knowing you prevented such an attack.

---

<div class="post-metadata">

**Author:** ![david4](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david4](https://community.auth0.com/u/david4)\
**Post date:** [October 19, 2017, 9:28pm UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/3 "2017-10-19T21:28:33Z")

</div>

I don’t disagree that it is good information to know and potentially find a way to present it, however in current form over the last 48 hours we have lost over 10 users because they think our app was hacked based on this message. We expect that number may go up because they are also now spreading that we were hacked and don’t provide a secure authentication system.

I think there are some serious ramifications of trying to assimilate Website A and Website B together that have no relation to each other. We are already making plans to leave Auth0 but I think this idea is only half-baked.

---

<div class="post-metadata">

**Author:** ![Mark\_Redman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mark_redman/32/6240_2.png) [@Mark\_Redman](https://community.auth0.com/u/Mark_Redman)\
**Post date:** [October 19, 2017, 11:03pm UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/4 "2017-10-19T23:03:10Z")

</div>

hi @david4 what alternatives are you considering?

---

<div class="post-metadata">

**Author:** ![david4](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david4](https://community.auth0.com/u/david4)\
**Post date:** [October 20, 2017, 12:26am UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/5 "2017-10-20T00:26:08Z")

</div>

@brightertools We are leaning towards Passport.js right now

---

<div class="post-metadata">

**Author:** ![david4](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@david4](https://community.auth0.com/u/david4)\
**Post date:** [October 20, 2017, 12:26am UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/6 "2017-10-20T00:26:27Z")

</div>

@brightertools We are leaning towards Passport.js right now

---

<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 2, 2018, 5:57am UTC](https://community.auth0.com/t/how-do-you-disable-login-errors-due-to-leaked-credentials/8526/7 "2018-03-02T05:57:03Z")

</div>


