From 81b460f74dc992448a0362b7d7635414d2015412 Mon Sep 17 00:00:00 2001 From: npze Date: Tue, 23 Jul 2013 13:47:33 +0200 Subject: [PATCH] Update yunohost_user.py --- yunohost_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_user.py b/yunohost_user.py index 916b409d..f683c33c 100644 --- a/yunohost_user.py +++ b/yunohost_user.py @@ -194,7 +194,7 @@ def user_update(username, firstname=None, lastname=None, mail=None, change_passw new_attr_dict['cn'] = new_attr_dict['displayName'] = firstname + ' ' + lastname if change_password: - pwd_changed = os.system('echo "'+ password +'\n'+ password +'" | smbldap-passwd '+ username) + pwd_changed = os.system('echo "'+ change_password +'\n'+ change_password +'" | smbldap-passwd '+ username) if pwd_changed > 0: raise YunoHostError(169, _("An error occured during password update"))