If the ENV password is incorrect, the loginWithNeeded method will fail in a recurring loop. This change will ensure that STDIN input is required if authentication fails the first time. Also, the current username is printed out on the password input line for improved clarity.
If the ENV password is incorrect, the
loginWithNeeded
method will fail in a recurring loop. This change will ensure that STDIN input is required if authentication fails the first time. Also, the current username is printed out on the password input line for improved clarity.