dump_creds: ajout du dump de mdp compte crans
This commit is contained in:
parent
efc1367292
commit
6b08464bfc
1 changed files with 7 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue