User Login Disable

By chexwarrior

★ 5.0/5 (1 ratings)10+ active installationsVersion 0.1.0

Allows administrators to disable other user logins.

Description

This plugin allows administrators to enable or disable other user account’s logins.

When a user is disabled:
* They can not login to the site
* They are immediately logged out of the site
* Any application passwords created with this user will no longer authenticate with the WP REST API

WP-CLI Integration

This plugin integrates with WP-CLI and provides the following two commands:

# Enables the target users
wp user enable <List of User IDs, Logins or Emails> [--all]

# Disables the target users
wp user disable <List of User IDs, Logins or Emails> [--all]

Support

This plugin is developed on the author’s own time so there is no guarantee that reported bugs will be fixed in a timely fashion.

To report a bug please visit the plugin’s GitHub repository.

Installation

Classic

  1. Upload the user-login-disable dir to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Composer

  1. Check out the instructions here

FAQ

Why does this plugin exist?

Very specific audit reasons at a job of mine, and I couldn’t find another plugin that did this w/o a ton of other unneeded functionality.

Screenshots

Changelog

0.1

  • Initial Release