Skip to content

Commit

Permalink
Merge pull request #8767 from brave/ksmith-hide-oauth-request
Browse files Browse the repository at this point in the history
Do not log request details for rewards external wallet session endpoints
  • Loading branch information
zenparsing committed May 12, 2021
2 parents 77c4c3e + 590fb9a commit 813b718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void PostOauth::Request(const std::string& external_account_id,
request->headers = RequestAuthorization();
request->content_type = "application/json";
request->method = type::UrlMethod::POST;
request->skip_log = true;
ledger_->LoadURL(std::move(request), url_callback);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void PostOauth::Request(
request->headers = RequestAuthorization();
request->content_type = "application/x-www-form-urlencoded";
request->method = type::UrlMethod::POST;
request->skip_log = true;
ledger_->LoadURL(std::move(request), url_callback);
}

Expand Down

0 comments on commit 813b718

Please sign in to comment.