PHPackages                             amit-rahav/wp-401-on-failed-login - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. amit-rahav/wp-401-on-failed-login

ActiveWordpress-plugin[Authentication &amp; Authorization](/categories/authentication)

amit-rahav/wp-401-on-failed-login
=================================

This plugin Sends Header Status 401 When Login Fails. Edit

v1.0.3(9y ago)3853PHP

Since Mar 14Pushed 8y agoCompare

[ Source](https://github.com/amitrahav/WP-401-On-Failed-Login)[ Packagist](https://packagist.org/packages/amit-rahav/wp-401-on-failed-login)[ RSS](/packages/amit-rahav-wp-401-on-failed-login/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (4)Used By (0)

WP-401-On-Failed-Login
======================

[](#wp-401-on-failed-login)

This plugin Sends Header Status 401 When Login Fails.

Installation
------------

[](#installation)

### ziped

[](#ziped)

Export zip into wp-content/plugins and enable it. Server side for this plugin is a fail2bun patch like: [fail2ban-wordpress-login](https://github.com/alonisser/fail2ban-wordpress-login).

### composer

[](#composer)

at your composer.json, at the repositories section add:

```
 {
  "type": "composer",
  "url":  "https://repo.fury.io/drorisrael/"
 }

```

and then run `$composer require wp-401-on-failed-login`

### wp CLI

[](#wp-cli)

run :`$wp plugin install https://github.com/amitrahav/WP-401-On-Failed-Login/archive/master.zip --activate`

REST-API
--------

[](#rest-api)

removing `wp/v2/users` defualt endpoint, and hooking 401 into rest api auth error.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

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 ~5 days

Total

3

Last Release

3385d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1517479?v=4)[Amit Rahav](/maintainers/amitrahav)[@amitrahav](https://github.com/amitrahav)

---

Top Contributors

[![amitrahav](https://avatars.githubusercontent.com/u/1517479?v=4)](https://github.com/amitrahav "amitrahav (17 commits)")

### Embed Badge

![Health badge](/badges/amit-rahav-wp-401-on-failed-login/health.svg)

```
[![Health](https://phpackages.com/badges/amit-rahav-wp-401-on-failed-login/health.svg)](https://phpackages.com/packages/amit-rahav-wp-401-on-failed-login)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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