Fix regression

This commit is contained in:
Laurent Destailleur 2020-10-30 04:24:06 +01:00
parent f5a156ee06
commit f51b02026c

View File

@ -527,7 +527,7 @@ function getRandomPassword($generic = false, $replaceambiguouschars = null, $len
}
else
{
$tmp = random_int(0, $max);
$tmp = mt_rand(0, $max);
$generated_password=str_replace($replaceambiguouschars, $numbers[$tmp], $generated_password);
}
}