Commit 069ab9cc authored by Daniel STAN's avatar Daniel STAN
Browse files

reset_pass: c'est mieux de save() à la fin

parent 6173bc8e
......@@ -51,6 +51,7 @@ class Ticket(object):
value = gen_password()
adh['userPassword'] = [crans_utils.hash_password(value).decode('ascii')]
except EnvironmentError:
print("Impossible de changer le mot de passe de %s" % login)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment