# Password policy

**URL:** <https://community.auth0.com/t/password-policy/133228>\
**Category:** Get Help\
**Tags:** email-factor, mfa\
**Created:** [May 1, 2024, 8:21pm UTC](https://community.auth0.com/t/password-policy/133228 "2024-05-01T20:21:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ysharat](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ysharat/32/44251_2.png) [@ysharat](https://community.auth0.com/u/ysharat)\
**Post date:** [May 1, 2024, 8:21pm UTC](https://community.auth0.com/t/password-policy/133228/1 "2024-05-01T20:21:28Z")

</div>

Hi there,  
where is the password policy defined can we see that, just wanted to know after how many failed attempts the account get locked,if account how we could unlock it.Beside temparory lock we also got account suspended in Auth0 ? pls clarify thanks.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 2, 2024, 12:18am UTC](https://community.auth0.com/t/password-policy/133228/3 "2024-05-02T00:18:41Z")

</div>

Hi @ysharat.

The password policy is defined under your Database connection’s settings. Visit the _[Dashboard \> Authentication \> Database](https://manage.auth0.com/#/connections/database)_ to view this setting.

As for the blocked account limit, you can view the limit on the _[Dashboard\> Security \> Attack Protection \> Brute-force Protection](https://manage.auth0.com/#/security/attack-protection)_ page.

There is a setting for the **Login Threshold** , which is the number of attempts you allow a user to try before they are blocked from logging in.

And when an account is blocked, you can unblock them on the User Management section of the Dashboard, or using the [Management API’s Unblock a user endpoint](https://auth0.com/docs/api/management/v2/user-blocks/delete-user-blocks-by-id).

Please refer to our [Block and Unblock Users](https://auth0.com/docs/manage-users/user-accounts/block-and-unblock-users#unblock-users) documentation for more details.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![ysharat](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ysharat/32/44251_2.png) [@ysharat](https://community.auth0.com/u/ysharat)\
**Post date:** [May 2, 2024, 2:02pm UTC](https://community.auth0.com/t/password-policy/133228/4 "2024-05-02T14:02:09Z")

</div>

thanks for your reply. If account locked after how long later it will be unlocked providing right password?

---

<div class="post-metadata">

**Author:** ![ysharat](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ysharat/32/44251_2.png) [@ysharat](https://community.auth0.com/u/ysharat)\
**Post date:** [May 3, 2024, 1:56pm UTC](https://community.auth0.com/t/password-policy/133228/5 "2024-05-03T13:56:41Z")

</div>

HI Rueben, Any update on the above ask, pls . thanks

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 6, 2024, 4:35pm UTC](https://community.auth0.com/t/password-policy/133228/6 "2024-05-06T16:35:44Z")

</div>

Hi @ysharat,

Thank you for your responses.

The user is blocked indefinitely until they are unblocked by either following the unblock email link or if an admin unblocks the user on the dashboard or using the Management API Unblock a user endpoint.

Thanks,  
Rueben

---

<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:** [May 20, 2024, 4:35pm UTC](https://community.auth0.com/t/password-policy/133228/7 "2024-05-20T16:35:46Z")

</div>

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