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(
183183 result = await app . AcquireTokenInteractive ( scopes )
184184 . WithPrompt ( Prompt . SelectAccount )
185185 . WithUseEmbeddedWebView ( true )
186+ . WithEmbeddedWebViewOptions ( GetEmbeddedWebViewOptions ( ) )
186187 . ExecuteAsync ( ) ;
187188 break ;
188189
@@ -407,6 +408,13 @@ private StorageCreationProperties CreateTokenCacheProps(bool useLinuxFallback)
407408 return builder . Build ( ) ;
408409 }
409410
411+ private static EmbeddedWebViewOptions GetEmbeddedWebViewOptions ( )
412+ {
413+ return new EmbeddedWebViewOptions
414+ {
415+ Title = "Git Credential Manager"
416+ } ;
417+ }
410418
411419 private static SystemWebViewOptions GetSystemWebViewOptions ( )
412420 {
You can’t perform that action at this time.
0 commit comments