100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps
Premium

Password policies

Complexity, expiry, reuse prevention, breach checking, and the rules around account recovery itself.

Complexity

KeyDefault
password_policy.min_length0 (off)
password_policy.require_upperfalse
password_policy.require_lowerfalse
password_policy.require_digitfalse
password_policy.require_specialfalse
password_policy.disallow_usernamefalse

Validated wherever the plaintext is available: profile updates, password resets and registration.

Length does more than character classes. If you set one thing, set min_length — twelve or more — and leave the class requirements off. Requiring a symbol mostly produces Password1!.

Expiry

KeyDefault
password_policy.expiry_days0 (off)

An expired password blocks the sign-in and automatically sends a reset email, rate-limited. It is a real gate, not a nag that people dismiss for a year.

Enforced on authenticate at priority 35 — after core's own check and after login security, so an expired password on a locked-out IP still reports the lockout first.

Reuse prevention

KeyDefault
password_policy.reuse_count0 (off)

Superseded password hashes are recorded in itxuo_password_history on change, and the last N are rejected.

Only hashes are stored, never plaintext, and the history is removed with the user.

Breach checking

KeyDefault
password_policy.breach_check_logintrue
password_policy.breach_list_pathempty

Checks a password against a local breach list you supply the path to. Nothing is sent anywhere — not a hash, not a prefix, not a k-anonymity range query.

With no list configured there is nothing to check against and it does not block.

Rules around recovery itself

This is the part most password policies forget: the reset flow is a way into the account too.

KeyDefault
password_policy.reset_disabled_rolesempty
password_policy.reset_max_per_hour0 (unlimited)
password_policy.reset_ttl_minutes0 (WordPress default)
password_policy.reset_revokes_app_passwordsfalse
  • Disable self-service reset for chosen roles. Administrators on a high-value site sometimes should not be able to reset by email alone.
  • Rate-limit reset requests, so the flow cannot be used to spam somebody's inbox or to farm valid-address responses.
  • Shorten the reset key lifetime. WordPress's default is generous.
  • Revoke application passwords on reset. Off by default, and worth turning on: without it, a password reset does not remove a credential an attacker already minted.

Email changes

KeyDefault
password_policy.email_change_notifytrue
password_policy.email_change_requires_reauthfalse

Changing the address on an account is a full account takeover if it goes unnoticed — the new address can then reset the password, and the old owner cannot.

So the old address is notified, before its owner finds out by being unable to reset a password they no longer control.

Optionally the change requires re-authentication. That check stands down wherever sudo mode would not actually prompt, so it cannot become an unpassable gate.

Applying a policy to existing passwords

Complexity and reuse apply at the next change, not retroactively — the plugin cannot evaluate a password it only holds a hash of.

To apply a new policy now, use the admin force-reset for a user, a role or everybody. That flags the accounts, and the next sign-in requires a change.

Everything is editable in the interface

Every setting here is on the Password policy screen and reachable over REST.

That is a deliberate constraint: a restriction on account recovery that can only be seen or switched off by editing the database is how a hardening feature turns into an outage nobody can diagnose.

Log in

Vote on ideas, submit your own and join the discussion.