mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Show provider label instead of id in sign in prompt, fixes #117461
This commit is contained in:
@@ -242,7 +242,8 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
|
||||
}
|
||||
} else {
|
||||
if (!silent) {
|
||||
const isAllowed = await this.loginPrompt(providerId, extensionName);
|
||||
const providerName = await this.authenticationService.getLabel(providerId);
|
||||
const isAllowed = await this.loginPrompt(providerName, extensionName);
|
||||
if (!isAllowed) {
|
||||
throw new Error('User did not consent to login.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user