USER_PASSWORD_MAXIMUM register

Permalink
how can i change USER_PASSWORD_MAXIMUM on the register page i get an error saying A password must be between 5 and 64 characters i want it to be 5-12 how can i change that?

 
Planet4 replied on at Permalink Reply
I have a similar question, my clients would like to increase the password strength by including perhaps a special character or require a certain amount of characters. Does anyone know where we can adjust the password requirements.

Thanks in advance...
pvernaglia replied on at Permalink Reply
pvernaglia
You can define things like that in your config/site.php file


Change minimum user name length from default value 3
define('USER_USERNAME_MINIMUM', 3);

Change maximum username length from default value 64
define('USER_USERNAME_MAXIMUM', 64);

Change minimum password length from default value 3
define('USER_PASSWORD_MINIMUM', 5);

Change maximum password length from default value 64
define('USER_PASSWORD_MAXIMUM', 64);
Planet4 replied on at Permalink Reply
Thanks that is very helpful. Have you seen a password strength checker out there? I haven't seen one for Concrete5 yet.