fix(utils): password should not allow % because synfony parameter bag is not accepting it

This commit is contained in:
mrflos 2022-11-22 11:35:18 +03:00
parent 7d944e6fbb
commit 906ba1a461

View file

@ -73,7 +73,7 @@ function generatePassword($length = 32, $add_dashes = false, $available_sets = '
$sets[] = '23456789';
}
if (strpos($available_sets, 's') !== false) {
$sets[] = '!@#$%&*?';
$sets[] = ';()!@#$&*?';
}
$all = '';