remove old default of 7 for password length, as it allways checks for that default otherwise

This commit is contained in:
Ralf Becker 2013-06-28 16:20:01 +00:00
parent d522bbd808
commit 5e0c017129

View File

@ -592,7 +592,7 @@ class auth
{ {
$strength++; $strength++;
} }
if (!preg_match('/.{'. ($minlength=7). ',}/',$passwd)) if (!preg_match('/.{'. ($minlength). ',}/',$passwd))
{ {
$message[] = lang('Password must have at least %1 characters', $minlength); $message[] = lang('Password must have at least %1 characters', $minlength);
$strength = 0; $strength = 0;