Password length Password length
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 ?