2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

No longer break when prompting for name/password

In the confetty CLI, readline clear history was done as
part of login process.  Since readline is not a given
to accomodate scripting behaviors, no longer do the
clear_history().  The concern I had was that
the password might have gotten into history, but that
seems to not be the case.
This commit is contained in:
Jarrod Johnson 2015-11-10 12:56:04 -05:00
parent 1d64792cb9
commit 4442ce1c71

View File

@ -601,7 +601,6 @@ def server_connect():
session.authenticate(username, passphrase)
while not session.authenticated:
username = raw_input("Name: ")
readline.clear_history()
passphrase = getpass.getpass("Passphrase: ")
session.authenticate(username, passphrase)