Don't change the case of the username (#744)

We should take the username typed by the user as is. No need to lower
the case of the string.
This commit is contained in:
José Armando García Sancio
2016-08-26 19:39:30 -07:00
committed by tamarrow
parent d32dacba93
commit 92dfc39747

View File

@@ -346,7 +346,7 @@ def _get_auth_credentials(username, hostname):
if username is None:
sys.stdout.write("{}'s username: ".format(hostname))
sys.stdout.flush()
username = sys.stdin.readline().strip().lower()
username = sys.stdin.readline().strip()
password = getpass.getpass("{}@{}'s password: ".format(username, hostname))