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

Commit f9b3480

Browse files
committed
Fix logging out from the tab
1 parent 83c2e9f commit f9b3480

File tree

1 file changed

+5
-1
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,11 @@ private void GoToProfile(object obj)
256256
}
257257
private void SignOut(object obj)
258258
{
259-
var task = new SimpleTask(() => EntryPoint.Keychain.ClearAll());
259+
var task = new SimpleTask(() =>
260+
{
261+
EntryPoint.Keychain.Clear(Repository.CloneUrl.ToRepositoryUrl());
262+
EntryPoint.Keychain.Flush(Repository.CloneUrl.ToRepositoryUrl());
263+
});
260264
TaskRunner.Add(task);
261265
}
262266

0 commit comments

Comments
 (0)