fix(utils): password should not allow % because synfony parameter bag is not accepting it
This commit is contained in:
parent
7d944e6fbb
commit
906ba1a461
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function generatePassword($length = 32, $add_dashes = false, $available_sets = '
|
||||||
$sets[] = '23456789';
|
$sets[] = '23456789';
|
||||||
}
|
}
|
||||||
if (strpos($available_sets, 's') !== false) {
|
if (strpos($available_sets, 's') !== false) {
|
||||||
$sets[] = '!@#$%&*?';
|
$sets[] = ';()!@#$&*?';
|
||||||
}
|
}
|
||||||
|
|
||||||
$all = '';
|
$all = '';
|
||||||
|
|
Loading…
Reference in a new issue