Skip to content

Commit

Permalink
Revert 16c2efc
Browse files Browse the repository at this point in the history
No need to strip quotes from password.  The problem was a bug
in my expect/tcl script's quote escape syntax.
  • Loading branch information
ghubstan committed Apr 26, 2020
1 parent 56f2923 commit dee5e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main/java/bisq/cli/PasswordCallCredentials.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PasswordCallCredentials extends CallCredentials {
public PasswordCallCredentials(String passwordValue) {
if (passwordValue == null)
throw new IllegalArgumentException(format("'%s' header value must not be null", PASSWORD_KEY));
this.passwordValue = passwordValue.replace("\"", "");
this.passwordValue = passwordValue;
}

@Override
Expand Down

1 comment on commit dee5e4c

@cbeams
Copy link
Contributor

@cbeams cbeams commented on dee5e4c Apr 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks! For future reference git revert 16c2efc is a more readable and convenient way to do this kind of thing.

Please sign in to comment.