Skip to content

Commit

Permalink
Merge pull request #2530 from azagaya/patch-1
Browse files Browse the repository at this point in the history
Fix documentation example for using `searchUsersByCredentials` action.
  • Loading branch information
rolljee committed May 21, 2024
2 parents ff00a44 + 1e39772 commit 6e3dda6
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,17 @@ Body:
"action": "searchUsersByCredentials",
"strategy": "<strategy>",
"body": {
"bool": {
"must": [
{
"match": {
// example with the "local" authentication strategy
"username": "test@example.com"
"query":{
"bool": {
"must": [
{
"match": {
// example with the "local" authentication strategy
"username": "test@example.com"
}
}
}
]
]
}
}
},
}
Expand Down

0 comments on commit 6e3dda6

Please sign in to comment.