Undefined variable...

This commit is contained in:
Alexandre Aubin 2022-08-04 18:16:00 +02:00
parent e29e9ca3f9
commit 470bc79d97

View file

@ -422,7 +422,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)]