From fcc70b914cf29dc67d27037458068ac45d48054d Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 4 May 2014 23:26:16 +0200 Subject: [PATCH] =?UTF-8?q?ldap=5Fcrans:=20corrige=20l'appel=20=C3=A0=20ch?= =?UTF-8?q?ange=5Fpassword?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 604b3e99..5f32434c 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1953,7 +1953,7 @@ class BaseProprietaire(BaseClasseCrans): args+= self._data['uid'][0] r = prompt(u"Attribuer tout de suite un mot de passe ? [O/N]", "O") if r == 'O' or r == 'o': - change_password(self.dn) + change_password(login=self.compte()) else: ret += coul(u' Il faudra penser à attribuer un mot de passe\n', 'jaune')