diff options
author | Philip Häusler <msquare@notrademark.de> | 2012-12-12 22:45:51 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2012-12-12 22:45:51 +0100 |
commit | 8591fb4b5fc76d1b277c060663b61710192b680c (patch) | |
tree | ede137980ac305f34804592dcee9ad523332cd32 /includes | |
parent | 518f8d0d586280de05d5b21417a9d61a94dd1c01 (diff) |
#10 fix password mind length check
Diffstat (limited to 'includes')
-rw-r--r-- | includes/pages/user_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php index cfeb38cf..14dcf96f 100644 --- a/includes/pages/user_settings.php +++ b/includes/pages/user_settings.php @@ -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); |