mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
disable askpass, terminal and github auth when git is disabled
fixes #97320
This commit is contained in:
@@ -34,7 +34,8 @@ export class TerminalEnvironmentManager {
|
||||
}
|
||||
|
||||
private refresh(): void {
|
||||
this.enabled = workspace.getConfiguration('git', null).get('terminalAuthentication', true);
|
||||
const config = workspace.getConfiguration('git', null);
|
||||
this.enabled = config.get<boolean>('enabled', true) && config.get('terminalAuthentication', true);
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
|
||||
Reference in New Issue
Block a user