From 95f785be7ce391faaa14be6afb1d6a248416dc2f Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 12 May 2015 09:24:23 +0200 Subject: [PATCH] ajoute historique si chgt de mdp --- client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client.py b/client.py index 962b253..d6aa03f 100644 --- a/client.py +++ b/client.py @@ -89,6 +89,7 @@ class Ticket(object): value = gen_password() with adh: adh['userPassword'] = [crans_utils.hash_password(value).decode('ascii')] + adh.history_gen() adh.save() except EnvironmentError: print("Impossible de changer le mot de passe de %s" % login)