diff --git a/src/shared/GitHub/GitHubAuthentication.cs b/src/shared/GitHub/GitHubAuthentication.cs index 988a5c131..6d66f42aa 100644 --- a/src/shared/GitHub/GitHubAuthentication.cs +++ b/src/shared/GitHub/GitHubAuthentication.cs @@ -144,7 +144,7 @@ public async Task GetAuthenticationAsync(Uri targetU case AuthenticationModes.Pat: return new AuthenticationPromptResult( AuthenticationModes.Pat, - new GitCredential(userName, viewModel.Password) + new GitCredential(userName, viewModel.Token) ); default: