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

There is no license information available for the latest version (v1.0.3) of this package.

This plugin Sends Header Status 401 When Login Fails. Edit

v1.0.3 2017-03-24 23:07 UTC

This package is auto-updated.

Last update: 2024-04-12 01:51:33 UTC


README

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.