mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
remove old default of 7 for password length, as it allways checks for that default otherwise
This commit is contained in:
parent
dfe80d61c3
commit
4e7669dfd0
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user