percipio.london :Password Policy
Make sure your passwords don’t flee
Enforce a password policy on your users. This plugin can also check the Have I been Pwned database to make sure users use a password that is secure.
This plugin requires Craft CMS 3.5+
To install the plugin, follow these instructions.
- Open your terminal and go to your Craft project:
- Then tell Composer to load the plugin:
`composer require percipioglobal/craft-password-policy`
- In the Control Panel, go to Settings → Plugins and click the “Install” button for Colour Swatches.
You can configure this plugin by adding a
<?php return [ // Minimum password length "minLength" => 16, // Maximum password length "maxLength" => 160, // Force users to use different cases "cases" => false, // Require at least 1 number "numbers" => false, // Require at least one symbol "symbols" => false, // Show a password strength indicator "showStrengthIndicator" => true, ];
Or through the plugin settings.