mirror of https://gitlab.com/bashrc2/epicyon
Manual password entry
parent
9e4c3e078b
commit
45e3ca7d48
|
@ -11,6 +11,7 @@ import shutil
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import argparse
|
import argparse
|
||||||
|
import getpass
|
||||||
from person import getActorJson
|
from person import getActorJson
|
||||||
from person import createPerson
|
from person import createPerson
|
||||||
from person import createGroup
|
from person import createGroup
|
||||||
|
@ -1792,6 +1793,8 @@ if args.notifications:
|
||||||
print('Specify a nickname with the --nickname option')
|
print('Specify a nickname with the --nickname option')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
if not args.password:
|
||||||
|
args.password = getpass.getpass('Password: ')
|
||||||
if not args.password:
|
if not args.password:
|
||||||
print('Specify a password with the --password option')
|
print('Specify a password with the --password option')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Reference in New Issue