Plainview Protect Passwords

Description

Prevent password resets or changes to specific users or user roles. User-specific exceptions to the sweeping user roles can be set. The user’s password is then protected from modification:

  • In the user’s profile editor
  • Using the password reset link in the login window

The settings are available to either the super admin on the network, or normal admins on a single installation. If you wish to hide the settings completely, put the following in your wp-config.php:

define( 'PLAINVIEW_PROTECT_PASSWORDS_HIDE', true );

Requires PHP 5.4.

Screenshots

  • Settings page
  • The admin user's password has been protected from reset

Installation

  1. Check that your web host has PHP v5.4.
  2. Activate the plugin locally or for the network. The latter option is necessary for the plugin to work on network installations.
  3. Visit either Admin > Options > Protect Password, or Network admin > Settings > Protect Password, depending on your installation.

FAQ

Installation Instructions
  1. Check that your web host has PHP v5.4.
  2. Activate the plugin locally or for the network. The latter option is necessary for the plugin to work on network installations.
  3. Visit either Admin > Options > Protect Password, or Network admin > Settings > Protect Password, depending on your installation.
When does the plugin protect my installation?
  • If crackers have access to your e-mail but not your WordPress login.
  • You do not want to be bothered by people abusing the “reset password” function for your account.
I’ve forgotten my admin password. How do I get a new one?

The easiest thing to do is rename the plugin’s directory. This will disable the plugin and allow you to reset your admin password.

You can edit the database, but that’s far more difficult than a simple directory rename.

Reviews

Gets the job done

I love that is works well with network sites so I don’t have to replicate my settings across each of my sites.

The only issue I ran into is that only network roles are added to the network settings. Maybe it’s by design, but it would be awesome if it picked up the roles from the sites because that is where plugins like User Role Editor and WooCommerce have registered them. In order to protect these I would have to modify the settings for each of my network sites separately. Annoying but totally doable.

Thanks for the quick and easy solution today!

Read all 2 reviews

Contributors & Developers

“Plainview Protect Passwords” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3 20180815

  • Fix: Admins are allowed to change the passwords of protected users.

1.2 20170920

  • Fix: Removed warning about “Declaration of plainview\protect_passwords\traits\protection::get_user_capabilities”.

1.1 20170602

Tested with WordPress v4.8

1 20150617

  • Inital release