Skip to content

Commit 5f8c0aa

Browse files
d3rnnGitHub Enterprise
authored andcommitted
Update login.py
1 parent 11458c7 commit 5f8c0aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def cli(env):
5656
if username is None:
5757
username = input("Username: ")
5858
click.echo("Username: {}".format(username))
59-
if password is None:
59+
if not password:
6060
password = env.getpass("Password: ")
6161
click.echo("Password: {}".format(censor_password(password)))
6262
yubi = input("Yubi: ")

0 commit comments

Comments
 (0)