afws_client: add login successful message

This commit is contained in:
Sebastien Bourdeauducq 2022-02-08 21:52:48 +08:00
parent b6f5ba8b5b
commit b893d97d7b

View File

@ -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: ")