From 8591fb4b5fc76d1b277c060663b61710192b680c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Wed, 12 Dec 2012 22:45:51 +0100 Subject: [PATCH] #10 fix password mind length check --- includes/pages/user_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);