percipioglobal / craft-password-policy
Enforce a password policy on your users.
Installs: 89 023
Dependents: 2
Suggesters: 0
Security: 0
Stars: 27
Watchers: 3
Forks: 9
Type:craft-plugin
Requires
- php: ^8.0.2
- craftcms/cms: ^5.0.0
Requires (Dev)
- craftcms/phpstan: dev-main
This package is auto-updated.
Last update: 2024-04-11 19:06:27 UTC
README
Password Policy plugin for Craft CMS 4.x
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.
Requirements
This plugin requires Craft CMS 3.0.0.
Installation
You can install this plugin through the plugin store.
Configuration
You can configure this plugin by adding a config/password-policy.php
file:
<?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, // Force user to reset their password after x days "forcePasswordReset" => false, // Provide amount of days for the recurring password to be reset -> default 90 days "forcePasswordResetDays" => 90 ];
Or through the plugin settings
Brought to you by Percipio Global Ltd.