Skip to content

Commit

Permalink
update password validation error
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Jul 26, 2023
1 parent 8063e1b commit e3b8c4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public XContentBuilder errorsAsXContent(RestChannel channel) {
builder.field("status", "error");
builder.field(
"reason",
opensearchSettings.get(ConfigConstants.SECURITY_RESTAPI_PASSWORD_VALIDATION_ERROR_MESSAGE, errorType.message)
errorType.message
);
break;
case WRONG_DATATYPE:
Expand Down

0 comments on commit e3b8c4d

Please sign in to comment.