From 92dfc39747d1f8493e940760d33d440881a9cedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Armando=20Garc=C3=ADa=20Sancio?= Date: Fri, 26 Aug 2016 19:39:30 -0700 Subject: [PATCH] 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. --- dcos/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcos/http.py b/dcos/http.py index 5468af5..30fadb1 100644 --- a/dcos/http.py +++ b/dcos/http.py @@ -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))