User Login Disable

Plugin Banner

User Login Disable

by chexwarrior

Download
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.

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
  1. The Disable field on a user profile

    The Disable field on a user profile

  2. Disabled users on the admin user list page

    Disabled users on the admin user list page

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.

Does what it says on the tin

By Youdaman on May 25, 2023

As per the author's FAQ, I just wanted a plugin that disabled users easily without any extra bells and whistles. Extra points for the WP-CLI integration!

0.1

  • Initial Release
Back to top