Merge branch 'dev' into manifestv2

This commit is contained in:
Alexandre Aubin 2022-08-04 18:16:17 +02:00
commit d3c213892f

View file

@ -423,7 +423,7 @@ def user_update(
m18n.n("ask_password"), is_password=True, confirm=True
)
# Ensure compatibility and sufficiently complex password
assert_password_is_compatible(password)
assert_password_is_compatible(change_password)
assert_password_is_strong_enough("user", change_password)
new_attr_dict["userPassword"] = [_hash_user_password(change_password)]