From f987fb0aba0d8a90b4c99a4db717c4c17f254706 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Tue, 27 Feb 2024 19:48:33 +0100 Subject: [PATCH] Fixed recognition of capital umlauts --- cps/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/helper.py b/cps/helper.py index 0cc7362c..5050ffa9 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -701,7 +701,7 @@ def valid_password(check_password): verify += r"(?=.*?[A-Z])" if config.config_password_special: verify += r"(?=.*?[^A-Za-z\s0-9])" - match = re.match(verify, check_password) + match = re.match(verify, unidecode.unidecode(check_password)) if not match: raise Exception(_("Password doesn't comply with password validation rules")) return check_password