password dialog added and console_bottombar updated

This commit is contained in:
Dirk Alders 2023-07-31 19:36:59 +02:00
parent 8448db149b
commit 9b2141ff55
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit ff0434370a4229019a2cefcb01bb159325ff96b2
Subproject commit fa26893496c744f416a1ee0193824075b3709330

View File

@ -1,5 +1,6 @@
import argparse
from console_bottombar import BottomBar
import getpass
import json
import mqtt
import os
@ -58,7 +59,7 @@ if __name__ == "__main__":
if not args.no_credentials:
if args.username == None:
args.username = input("Username: ")
password = ""
password = getpass.getpass(prompt='Password: ', stream=None)
else:
password = None