Skip to content

Commit

Permalink
GitAuthentication: do not trace credential data
Browse files Browse the repository at this point in the history
port of commit: 9e7b44d
  • Loading branch information
jamill committed Apr 9, 2019
1 parent 7beb622 commit 337b9a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GVFS/GVFS.Common/Git/GitAuthentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public void ApproveCredentials(ITracer tracer, string credentialString)
EventMetadata metadata = new EventMetadata(new Dictionary<string, object>
{
["RepoUrl"] = this.repoUrl,
["CredentialString"] = this.cachedCredentialString
});
tracer.RelatedError(metadata, "Failed to parse credential string for approval");
}
Expand Down Expand Up @@ -106,7 +105,6 @@ public void RejectCredentials(ITracer tracer, string credentialString)
EventMetadata metadata = new EventMetadata(new Dictionary<string, object>
{
["RepoUrl"] = this.repoUrl,
["CredentialString"] = this.cachedCredentialString
});
tracer.RelatedWarning(metadata, "Failed to parse credential string for rejection. Rejecting any credential for this repo URL.");
this.git.RejectCredentials(this.repoUrl);
Expand Down

0 comments on commit 337b9a3

Please sign in to comment.