forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: wkpoon on June 14, 2007, 09:57:21 am

Title: Password length
Post by: wkpoon on June 14, 2007, 09:57:21 am
I had set the password mini length to 4 by edit the register.php in line 241 :

Code: [Select]
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 ?