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:28 +00:00
parent dfe80d61c3
commit 4e7669dfd0

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;