forked from M-Labs/artiq
afws_client: add login successful message
This commit is contained in:
parent
b6f5ba8b5b
commit
b893d97d7b
|
@ -117,6 +117,7 @@ def main():
|
||||||
if not client.login(args.username, password):
|
if not client.login(args.username, password):
|
||||||
print("Login failed")
|
print("Login failed")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
print("Logged in successfully.")
|
||||||
if args.action == "passwd":
|
if args.action == "passwd":
|
||||||
print("Password must made of alphanumeric characters (a-z, A-Z, 0-9) and be at least 8 characters long.")
|
print("Password must made of alphanumeric characters (a-z, A-Z, 0-9) and be at least 8 characters long.")
|
||||||
password = getpass("New password: ")
|
password = getpass("New password: ")
|
||||||
|
|
Loading…
Reference in New Issue