Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3157e7c

Browse files
Set Credential to null on Clear
1 parent 373a0eb commit 3157e7c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/GitHub.Api/Authentication/KeychainAdapter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public void UpdateToken(string token)
2323
public void Clear()
2424
{
2525
OctokitCredentials = Credentials.Anonymous;
26+
Credential = null;
2627
}
2728

2829
/// <summary>

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PUblishView.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ private void PopulateView()
8181
owners = new[] { user.Login };
8282

8383
Logger.Trace("GetOrganizations");
84+
8485
Client.GetOrganizations(organizations =>
8586
{
8687
if (organizations == null)

0 commit comments

Comments
 (0)