Fixed recognition of capital umlauts

This commit is contained in:
Ozzie Isaacs 2024-02-27 19:48:33 +01:00
parent 97380b4b3f
commit f987fb0aba
1 changed files with 1 additions and 1 deletions

View File

@ -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