Skip to content

Commit 337b9a3

Browse files
committed
GitAuthentication: do not trace credential data
port of commit: 9e7b44d
1 parent 7beb622 commit 337b9a3

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)