Commit b29059a6 authored by Jérome Perrin's avatar Jérome Perrin

base: typo in "Password does not comply with password policy" error message

parent 28ef4724
Pipeline #13045 failed with stage
in 0 seconds
...@@ -71,7 +71,7 @@ class EncryptedPasswordMixin: ...@@ -71,7 +71,7 @@ class EncryptedPasswordMixin:
# not a policy so basically all passwords are accceptable # not a policy so basically all passwords are accceptable
return True return True
if not self.isPasswordValid(value): if not self.isPasswordValid(value):
raise ValueError("Password value doest not comply with password policy") raise ValueError("Password does not comply with password policy")
def checkUserCanChangePassword(self): def checkUserCanChangePassword(self):
if not _checkPermission(Permissions.SetOwnPassword, self): if not _checkPermission(Permissions.SetOwnPassword, self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment