News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as 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 ?