This is an automated email from the ASF dual-hosted git repository.
madhan pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new c2b21ff ATLAS-3666: updated file-based authentication to use BCrypt -
#2
c2b21ff is described below
commit c2b21ffd9d9da57e98b2e38b47724c39c7fc2554
Author: Madhan Neethiraj <[email protected]>
AuthorDate: Tue Mar 24 12:17:25 2020 -0700
ATLAS-3666: updated file-based authentication to use BCrypt - #2
(cherry picked from commit 76011077145d0eb6c8d683ffc7ceee6614ba2573)
---
.../src/main/java/org/apache/atlas/util/CredentialProviderUtility.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
b/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
index 51b5e6d..799edb9 100755
--- a/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
+++ b/webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java
@@ -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");