File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/shared/Microsoft.Git.CredentialManager/Authentication Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ public async Task<IMicrosoftAuthenticationResult> GetTokenAsync(
183
183
result = await app . AcquireTokenInteractive ( scopes )
184
184
. WithPrompt ( Prompt . SelectAccount )
185
185
. WithUseEmbeddedWebView ( true )
186
+ . WithEmbeddedWebViewOptions ( GetEmbeddedWebViewOptions ( ) )
186
187
. ExecuteAsync ( ) ;
187
188
break ;
188
189
@@ -407,6 +408,13 @@ private StorageCreationProperties CreateTokenCacheProps(bool useLinuxFallback)
407
408
return builder . Build ( ) ;
408
409
}
409
410
411
+ private static EmbeddedWebViewOptions GetEmbeddedWebViewOptions ( )
412
+ {
413
+ return new EmbeddedWebViewOptions
414
+ {
415
+ Title = "Git Credential Manager"
416
+ } ;
417
+ }
410
418
411
419
private static SystemWebViewOptions GetSystemWebViewOptions ( )
412
420
{
You can’t perform that action at this time.
0 commit comments