Skip to content

Commit 9b72f26

Browse files
authored
Merge 7f34d7d into ede8541
2 parents ede8541 + 7f34d7d commit 9b72f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/Core/GenericHostProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ private async Task<ICredential> GetOAuthAccessToken(Uri remoteUri, string userNa
161161
// Store new refresh token if we have been given one
162162
if (!string.IsNullOrWhiteSpace(refreshResult.RefreshToken))
163163
{
164-
Context.CredentialStore.AddOrUpdate(refreshService, refreshToken.Account, refreshToken.Password);
164+
Context.CredentialStore.AddOrUpdate(refreshService, refreshToken.Account, refreshResult.RefreshToken);
165165
}
166166

167167
// Return the new access token

0 commit comments

Comments
 (0)