Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers
Download

User Login Disable

By Chexwarrior
  • Details
  • Reviews
  • Installation
  • Development
Support

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.

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

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

There are no reviews for this plugin.

Contributors & Developers

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

Contributors
  • chexwarrior

Translate “User Login Disable” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1

  • Initial Release

Meta

  • Version: 0.1.0
  • Last updated: 8 months ago
  • Active installations: 20+
  • WordPress Version: 5.6 or higher
  • Tested up to: 6.0.3
  • PHP Version: 8.0 or higher
  • Tags:
    auditloginsecurityusers
  • Advanced View

Ratings

This plugin has not been rated yet.

Log in to submit a review.

Contributors

  • chexwarrior

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry