Skip to content

Commit be3eb72

Browse files
authored
Merge pull request #1020: GitAuthentication: do not trace credential data
2 parents 7beb622 + 337b9a3 commit be3eb72

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

GVFS/GVFS.Common/Git/GitAuthentication.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ public void ApproveCredentials(ITracer tracer, string credentialString)
7474
EventMetadata metadata = new EventMetadata(new Dictionary<string, object>
7575
{
7676
["RepoUrl"] = this.repoUrl,
77-
["CredentialString"] = this.cachedCredentialString
7877
});
7978
tracer.RelatedError(metadata, "Failed to parse credential string for approval");
8079
}
@@ -106,7 +105,6 @@ public void RejectCredentials(ITracer tracer, string credentialString)
106105
EventMetadata metadata = new EventMetadata(new Dictionary<string, object>
107106
{
108107
["RepoUrl"] = this.repoUrl,
109-
["CredentialString"] = this.cachedCredentialString
110108
});
111109
tracer.RelatedWarning(metadata, "Failed to parse credential string for rejection. Rejecting any credential for this repo URL.");
112110
this.git.RejectCredentials(this.repoUrl);

0 commit comments

Comments
 (0)