diff --git a/dump_creds.py b/dump_creds.py index 5446e99..baa6217 100755 --- a/dump_creds.py +++ b/dump_creds.py @@ -1,4 +1,5 @@ #!/bin/bash /usr/scripts/python.sh +# -*- coding: utf-8 -*- from __future__ import print_function @@ -44,7 +45,13 @@ elif not res: exit(2) else: item = res[0] + if 'uid' not in item: + conf_reset_password = False + item.display() + if conf_reset_password: + print("Le mot de passe (compte Crans) sera également réinitialisé") + while True: c = prompt("[O/N]").lower() if c == 'n':