Commit 76011077 by Madhan Neethiraj

ATLAS-3666: updated file-based authentication to use BCrypt - #2

parent f30fd67f
......@@ -174,7 +174,7 @@ public class CredentialProviderUtility {
while (true) {
char[] passwd1 = textDevice.readPassword("Please enter the password value for %s:", key);
char[] passwd2 = textDevice.readPassword("Please enter the password value for %s again:", key);
boolean isMatch = !Arrays.equals(passwd1, passwd2);
boolean isMatch = Arrays.equals(passwd1, passwd2);
if (!isMatch) {
textDevice.printf("Password entries don't match. Please try again.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment