Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-doubez committed Apr 2, 2024
1 parent 962418f commit 7e2f83c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ public void setEscapeHatchSecret(Secret escapeHatchSecret) {
protected boolean checkEscapeHatch(String username, String password) {
final boolean isUsernameMatch = username.equals(this.escapeHatchUsername);
final boolean isPasswordMatch = BCrypt.checkpw(password, Secret.toString(this.escapeHatchSecret));
return isPasswordMatch & isPasswordMatch;
return isUsernameMatch & isPasswordMatch;
}

@DataBoundSetter
Expand Down

0 comments on commit 7e2f83c

Please sign in to comment.