mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Fix #105936
This commit is contained in:
@@ -591,13 +591,15 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
|
||||
this.currentSessionId = undefined;
|
||||
await this.update();
|
||||
|
||||
this.notificationService.notify({
|
||||
severity: Severity.Error,
|
||||
message: localize('successive auth failures', "Settings sync was turned off because of successive authorization failures. Please sign in again to continue synchronizing"),
|
||||
actions: {
|
||||
primary: [new Action('sign in', localize('sign in', "Sign in"), undefined, true, () => this.signIn())]
|
||||
}
|
||||
});
|
||||
if (this.userDataAutoSyncService.isEnabled()) {
|
||||
this.notificationService.notify({
|
||||
severity: Severity.Error,
|
||||
message: localize('successive auth failures', "Settings sync is suspended because of successive authorization failures. Please sign in again to continue synchronizing"),
|
||||
actions: {
|
||||
primary: [new Action('sign in', localize('sign in', "Sign in"), undefined, true, () => this.signIn())]
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
private onDidChangeSessions(e: AuthenticationSessionsChangeEvent): void {
|
||||
|
||||
Reference in New Issue
Block a user