Fix regression
This commit is contained in:
parent
f5a156ee06
commit
f51b02026c
@ -527,7 +527,7 @@ function getRandomPassword($generic = false, $replaceambiguouschars = null, $len
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$tmp = random_int(0, $max);
|
$tmp = mt_rand(0, $max);
|
||||||
$generated_password=str_replace($replaceambiguouschars, $numbers[$tmp], $generated_password);
|
$generated_password=str_replace($replaceambiguouschars, $numbers[$tmp], $generated_password);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user