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

Commit 5e87e9a

Browse files
Removing unused code
1 parent b108e06 commit 5e87e9a

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -123,29 +123,6 @@ private void LoadOwners()
123123
{
124124
isBusy = false;
125125

126-
var tokenUsernameMismatchException = exception as TokenUsernameMismatchException;
127-
if (tokenUsernameMismatchException != null)
128-
{
129-
Logger.Trace("Token Username Mismatch");
130-
131-
var shouldProceed = EditorUtility.DisplayDialog(AuthenticationChangedTitle,
132-
string.Format(AuthenticationChangedMessageFormat,
133-
tokenUsernameMismatchException.CachedUsername,
134-
tokenUsernameMismatchException.CurrentUsername), AuthenticationChangedProceed, AuthenticationChangedLogout);
135-
136-
if (shouldProceed)
137-
{
138-
//Proceed as current user
139-
140-
}
141-
else
142-
{
143-
//Logout current user and try again
144-
145-
}
146-
return;
147-
}
148-
149126
var keychainEmptyException = exception as KeychainEmptyException;
150127
if (keychainEmptyException != null)
151128
{

0 commit comments

Comments
 (0)