From 906ba1a4619dd6aa6039c9ade8ec7019dcfcf803 Mon Sep 17 00:00:00 2001 From: mrflos Date: Tue, 22 Nov 2022 11:35:18 +0300 Subject: [PATCH] fix(utils): password should not allow % because synfony parameter bag is not accepting it --- utils.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.inc.php b/utils.inc.php index 1722b9c..65c954f 100644 --- a/utils.inc.php +++ b/utils.inc.php @@ -73,7 +73,7 @@ function generatePassword($length = 32, $add_dashes = false, $available_sets = ' $sets[] = '23456789'; } if (strpos($available_sets, 's') !== false) { - $sets[] = '!@#$%&*?'; + $sets[] = ';()!@#$&*?'; } $all = '';