Password length Password length
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Password length

Started by wkpoon, June 14, 2007, 09:57:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wkpoon

I had set the password mini length to 4 by edit the register.php in line 241 :

if (utf_strlen($password) < 4) $error .= '<li>' . $lang_register_php['err_password_short'];

I test to input the password "11" it still allow me to change the password and, until I enter "1" it will return the error say that the password is too short. Anything wrong with the code ?