[Key Connector] Resolve desktop not prompting to remove password (#558)
This commit is contained in:
parent
10fa164ffc
commit
8b01eea446
|
@ -321,16 +321,16 @@ export class SyncService implements SyncServiceAbstraction {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await Promise.all([
|
||||||
|
this.userService.replaceOrganizations(organizations),
|
||||||
|
this.userService.replaceProviders(providers),
|
||||||
|
]);
|
||||||
|
|
||||||
if (await this.keyConnectorService.userNeedsMigration()) {
|
if (await this.keyConnectorService.userNeedsMigration()) {
|
||||||
this.messagingService.send('convertAccountToKeyConnector');
|
this.messagingService.send('convertAccountToKeyConnector');
|
||||||
} else {
|
} else {
|
||||||
this.keyConnectorService.removeConvertAccountRequired();
|
this.keyConnectorService.removeConvertAccountRequired();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Promise.all([
|
|
||||||
this.userService.replaceOrganizations(organizations),
|
|
||||||
this.userService.replaceProviders(providers),
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async syncFolders(userId: string, response: FolderResponse[]) {
|
private async syncFolders(userId: string, response: FolderResponse[]) {
|
||||||
|
|
Loading…
Reference in New Issue