From 5a22b400eb0f2e49199e9161eabaa7fd4e13dda1 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 21 Nov 2018 18:37:08 +0100 Subject: [PATCH] [fix] Unknown variable password in user_update --- src/yunohost/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/user.py b/src/yunohost/user.py index baf52eb2f..bb39dd58e 100644 --- a/src/yunohost/user.py +++ b/src/yunohost/user.py @@ -313,7 +313,7 @@ def user_update(operation_logger, auth, username, firstname=None, lastname=None, if change_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)