I used Login Security module to block users after some login failures. It works fine however I need to unblock such users after certain time like after 1 hour/day. How would I do that as it has configurations to delete attempt from database but user isn't unblocked and it has to be active manually.

Please see below attached screen shot of module configuration.

enter image description here

2 Answers 2


I just developed a small module named as Auto Unblock Users to unblock users.

This will only work if the user is blocked by Login Security module.


What about unblocking the blocked user after an hour using Rules module?


Use Rules module.

Create custom event for your particular module event (for example, "User Blocked after login failure"

Unblock users after one hour.

  • Bulk of users might be blocked earlier by site admin manually. I need to unblock those users who has 0 attempts in database only or blocked by using this module. As you suggested by using Rules, every blocked user will be unblock who even never tried to logged in once. Commented Aug 22, 2017 at 19:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.