From 1e68abac7034bba1f507a9919e394fe86244c375 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Thu, 7 Dec 2023 15:32:18 +0000 Subject: [PATCH] Reduce number of symbols to avoid issues Limit the symbols used in the character string to avoid potential problems with certain characters. --- app/classes/shared/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index f6282ea2..f1f18fa1 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -370,7 +370,7 @@ class Helpers: digits = string.digits locase = string.ascii_lowercase upcase = string.ascii_uppercase - symbols = string.punctuation + symbols = "!@#$%^&*" # Reducing to avoid issues with ([]{}<>,'`) etc # Combine all the character strings above to form one string combo = digits + upcase + locase + symbols