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?
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);
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);
Thanks that is very helpful. Have you seen a password strength checker out there? I haven't seen one for Concrete5 yet.
Thanks in advance...