PHPackages                             msp/userlockout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. msp/userlockout

ActiveMagento2-module[Security](/categories/security)

msp/userlockout
===============

Brute force prevention system for Magento2 - Member of MageSpecialist SecuritySuite

1.1.1(8y ago)31.8k1OSL 3.0PHPPHP ^7.0|^7.1

Since Jul 15Pushed 8y ago3 watchersCompare

[ Source](https://github.com/magespecialist/m2-MSP_UserLockout)[ Packagist](https://packagist.org/packages/msp/userlockout)[ RSS](/packages/msp-userlockout/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (1)

MSP UserLockout
===============

[](#msp-userlockout)

Customer login **brute force protection module**.

This module can temporary lock a customer account when too many login password attempts fail are detected.

> Member of **MSP Security Suite**
>
> See: [https://github.com/magespecialist/m2-MSP\_Security\_Suite](https://github.com/magespecialist/m2-MSP_Security_Suite)

Installing on Magento2:
-----------------------

[](#installing-on-magento2)

**1. Install using composer**

From command line:

`composer require msp/userlockout`
`php bin/magento setup:upgrade`

**2. Enable and configure from your Magento backend config**

[![](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/config.png)](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/config.png)

Frontend screenshot
-------------------

[](#frontend-screenshot)

When the amount of failed attempts is reached, this module prevents further attemps for a defined amount of seconds.

This is one of the most effective countermeasures for brute force.

[![](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/too_many_failures.png)](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/too_many_failures.png)

Backend manual unlock
---------------------

[](#backend-manual-unlock)

You can monitor and manually unlock users from your Magento backend under **Customers &gt; Locked Users**:

[![](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/lockout_list.png)](https://raw.githubusercontent.com/magespecialist/m2-MSP_UserLockout/master/screenshots/lockout_list.png)

Command-line unlock
-------------------

[](#command-line-unlock)

You can manually unlock one user from command-line if necessary:

`php bin/magento msp:security:lockout:unlock  `

Example:

`php bin/magento msp:security:lockout:unlock 127.0.0.1 user@example.com`

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~84 days

Recently: every ~105 days

Total

6

Last Release

3217d ago

Major Versions

0.1.2 → 1.0.02017-05-31

PHP version history (3 changes)0.1.0PHP ~5.5.0|~5.6.0|~7.0.0

1.0.0PHP ~7.0.0

1.1.1PHP ^7.0|^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3977029?v=4)[MageSpecialist](/maintainers/magespecialist)[@magespecialist](https://github.com/magespecialist)

---

Top Contributors

[![phoenix128](https://avatars.githubusercontent.com/u/10189093?v=4)](https://github.com/phoenix128 "phoenix128 (7 commits)")

### Embed Badge

![Health badge](/badges/msp-userlockout/health.svg)

```
[![Health](https://phpackages.com/badges/msp-userlockout/health.svg)](https://phpackages.com/packages/msp-userlockout)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M137](/packages/mews-purifier)[magento/community-edition

Magento 2 (Open Source)

12.1k53.0k12](/packages/magento-community-edition)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)[msp/shield

Advanced Intrusion Prevention System for Magento2 - Member of MageSpecialist SecuritySuite

2037.2k1](/packages/msp-shield)[msp/nospam

Comment Spammers, Harvesters and Suspicious users access prevention for Magento2 - Member of MageSpecialist SecuritySuite

1447.1k1](/packages/msp-nospam)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
