Manual password entry

merge-requests/21/head
Bob Mottram 2021-03-13 11:13:35 +00:00
parent 9e4c3e078b
commit 45e3ca7d48
1 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import shutil
import sys
import time
import argparse
import getpass
from person import getActorJson
from person import createPerson
from person import createGroup
@ -1793,8 +1794,10 @@ if args.notifications:
sys.exit()
if not args.password:
print('Specify a password with the --password option')
sys.exit()
args.password = getpass.getpass('Password: ')
if not args.password:
print('Specify a password with the --password option')
sys.exit()
proxyType = None
if args.tor or domain.endswith('.onion'):