Title: User Login Disable
Author: chexwarrior
Published: <strong>July 22, 2022</strong>
Last modified: July 22, 2022

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/user-login-disable.svg)

# User Login Disable

 By [chexwarrior](https://profiles.wordpress.org/chexwarrior/)

[Download](https://downloads.wordpress.org/plugin/user-login-disable.0.1.0.zip)

 * [Details](https://pcd.wordpress.org/plugins/user-login-disable/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/user-login-disable/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/user-login-disable/#installation)
 * [Development](https://pcd.wordpress.org/plugins/user-login-disable/#developers)

 [Support](https://wordpress.org/support/plugin/user-login-disable/)

## 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](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/)
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](https://github.com/ChexWarrior/wp-user-disable-login).

## Screenshots

 * [[
 * The Disable field on a user profile
 * [[
 * Disabled users on the admin user list page

## 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](https://composer.rarst.net/)

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

## Reviews

![](https://secure.gravatar.com/avatar/991847479cb59e7b8600de36ba2f30fdcc81725c571ed5dfb8da236e54855db3?
s=60&d=retro&r=g)

### 󠀁[Does what it says on the tin](https://wordpress.org/support/topic/does-what-it-says-on-the-tin-568/)󠁿

 [Youdaman](https://profiles.wordpress.org/youdaman/) 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!

 [ Read all 1 review ](https://wordpress.org/support/plugin/user-login-disable/reviews/)

## Contributors & Developers

“User Login Disable” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ chexwarrior ](https://profiles.wordpress.org/chexwarrior/)

[Translate “User Login Disable” into your language.](https://translate.wordpress.org/projects/wp-plugins/user-login-disable)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/user-login-disable/),
check out the [SVN repository](https://plugins.svn.wordpress.org/user-login-disable/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/user-login-disable/)
by [RSS](https://plugins.trac.wordpress.org/log/user-login-disable/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1

 * Initial Release

## Meta

 *  Version **0.1.0**
 *  Last updated **4 years ago**
 *  Active installations **10+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.0.11**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/user-login-disable/)
 * Tags
 * [audit](https://pcd.wordpress.org/plugins/tags/audit/)[login](https://pcd.wordpress.org/plugins/tags/login/)
   [security](https://pcd.wordpress.org/plugins/tags/security/)[users](https://pcd.wordpress.org/plugins/tags/users/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/user-login-disable/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/user-login-disable/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/user-login-disable/reviews/)

## Contributors

 *   [ chexwarrior ](https://profiles.wordpress.org/chexwarrior/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/user-login-disable/)