diff --git a/phpgwapi/inc/class.auth.inc.php b/phpgwapi/inc/class.auth.inc.php index c88ea4f3a0..2ebfc968fd 100644 --- a/phpgwapi/inc/class.auth.inc.php +++ b/phpgwapi/inc/class.auth.inc.php @@ -592,7 +592,7 @@ class auth { $strength++; } - if (!preg_match('/.{'. ($minlength=7). ',}/',$passwd)) + if (!preg_match('/.{'. ($minlength). ',}/',$passwd)) { $message[] = lang('Password must have at least %1 characters', $minlength); $strength = 0;