Password length Password length
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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 ?