Plugin screenshot thumbnail 1/1

Password Policy plugin for Craft CMS 5.x

The Password Policy plugin is a powerful tool for enforcing secure password policies within your Craft CMS 5 installation. It helps administrators define and manage password rules for users, enhancing security and compliance in multi-user environments.

Screenshot

Requirements

This plugin requires Craft CMS 5.0.0 or later.

Configuration options

Minimum Password Length

Define the minimum number of characters a password must contain. Default: 8

Complexity Requirements

The following requirements can be enabled in the plugin settings:

  • At least one uppercase and lowercase letter
  • At least one number
  • At least one special character (e.g., !@#$%)

Password Strength Indicator

A password strength indicator can be enabled to aid your users into choosing a stronger password

Have I been pwned?

Enhance your security by ensuring users can not select any leaked password. This employs the k-Anonymity method to validate passwords against the Pwned Passwords API without compromising user privacy by revealing passwords to an external service.

Password Retention Features

Password Expiration Method

You can determine the period in days,weeks,months or years when a password should expire. If you want to make use of this functionality, you can find this under Utilities → Password Retention → Force Reset Passwords. Or if you want to use this utility through the CLI for e.g. a cronjob you can use craft password-policy/retention/force-reset-passwords.

Password Policy works on Craft 5.x.

Brought to you by CraftPulse

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
2,347
Version
5.0.2.1
License
Craft
Compatibility
Craft 3, Craft 4, Craft 5
Tested on Cloud
Last release
December 19, 2024
Activity (30 days)
2
Closed Issues
2
Open Issues
2
Merged PRs
1
Open PRs