mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Unknown variable password in user_update
This commit is contained in:
parent
b3c5f44518
commit
5a22b400eb
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ def user_update(operation_logger, auth, username, firstname=None, lastname=None,
|
||||||
|
|
||||||
if change_password:
|
if change_password:
|
||||||
# Ensure sufficiently complex password
|
# Ensure sufficiently complex password
|
||||||
assert_password_is_strong_enough("user", password)
|
assert_password_is_strong_enough("user", change_password)
|
||||||
|
|
||||||
new_attr_dict['userPassword'] = _hash_user_password(change_password)
|
new_attr_dict['userPassword'] = _hash_user_password(change_password)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue