# Why is user blocked

**URL:** <https://community.auth0.com/t/why-is-user-blocked/80695>\
**Category:** Get Help\
**Created:** [March 29, 2022, 11:36am UTC](https://community.auth0.com/t/why-is-user-blocked/80695 "2022-03-29T11:36:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivam.jain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam.jain/32/33837_2.png) [@shivam.jain](https://community.auth0.com/u/shivam.jain)\
**Post date:** [March 29, 2022, 11:36am UTC](https://community.auth0.com/t/why-is-user-blocked/80695/1 "2022-03-29T11:36:08Z")

</div>

Hey, I have enabled brute force protection, and set the threshold as 5 attempts.  
A user complained about her account getting blocked after a single failed attempt.  
I checked the logs, and confirmed there is only a single failed attempt.  
Why is this happening?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [March 29, 2022, 6:17pm UTC](https://community.auth0.com/t/why-is-user-blocked/80695/3 "2022-03-29T18:17:56Z")

</div>

Hi @shivam.jain ,

Thank you for posting this topic on the Auth0 community!

I tested the brute force protection with the threshold set as 5 attempts and could not repeat this issue. I received the “Your Account has been blocked after multiple consecutive login attempts” error after 5 consecutive failed attempts.

Is that the error the user received? And if you have unblocked this user and does she still face this issue with a single failed attempt?

If you can repeat this issue with a testing user, could you please DM me the email of the user and the name of the tenant for further investigation? Thanks!

---

<div class="post-metadata">

**Author:** ![shivam.jain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/shivam.jain/32/33837_2.png) [@shivam.jain](https://community.auth0.com/u/shivam.jain)\
**Post date:** [March 30, 2022, 2:54am UTC](https://community.auth0.com/t/why-is-user-blocked/80695/4 "2022-03-30T02:54:46Z")

</div>

Hi @lihua.zhang I had unblocked the user using the management API, and he was no longer facing the issue. I also found out 4 incorrect login attempts by the user 8 days ago.  
I was under the impression that the incorrect attempt count resets after 24 hours. Is that not the case?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [March 30, 2022, 4:26pm UTC](https://community.auth0.com/t/why-is-user-blocked/80695/5 "2022-03-30T16:26:15Z")

</div>

The incorrect attempt count reset will be triggered only after the user has successfully logged in. Since the user has 4 incorrect login attempts earlier, that explains why she got locked after one additional such attempt.

---

<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:** [December 22, 2022, 11:36am UTC](https://community.auth0.com/t/why-is-user-blocked/80695/6 "2022-12-22T11:36:52Z")

</div>


