WP Manifestindependent plugin directory
manifest / security / wp-401-on-failed-login

401 On Failed Login

This plugin Sends Header Status 401 When Login Fails. Edit

★ 3stars
853composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/amitrahav/wp-401-on-failed-login/archive/refs/heads/master.zip

On Packagist as amit-rahav/wp-401-on-failed-login:

composer require amit-rahav/wp-401-on-failed-login
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin Sends Header Status 401 When Login Fails.

Installation

ziped

Export zip into wp-content/plugins and enable it. Server side for this plugin is a fail2bun patch like: fail2ban-wordpress-login.

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

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

REST-API

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