#10 fix password mind length check

This commit is contained in:
Philip Häusler 2012-12-12 22:45:51 +01:00
parent 518f8d0d58
commit 8591fb4b5f
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function user_settings() {
if (!isset ($_REQUEST['password']) || !verify_password($_REQUEST['password'], $user['Passwort'], $user['UID']))
$msg .= error(Get_Text(30), true);
elseif (strlen($_REQUEST['new_password']) <= MIN_PASSWORD_LENGTH)
elseif (strlen($_REQUEST['new_password']) < MIN_PASSWORD_LENGTH)
$msg .= error(Get_Text("makeuser_error_password2"));
elseif ($_REQUEST['new_password'] != $_REQUEST['new_password2'])
$msg .= error(Get_Text("makeuser_error_password1"), true);