[PM-4510] LP importer disable parseSecureNotesToAccount (#6676)
This commit is contained in:
parent
6355a1964b
commit
cb60046ba2
|
@ -137,7 +137,9 @@ export class LastPassDirectImportService {
|
||||||
includeSharedFolders: boolean
|
includeSharedFolders: boolean
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const clientInfo = await this.createClientInfo(email);
|
const clientInfo = await this.createClientInfo(email);
|
||||||
await this.vault.open(email, password, clientInfo, this.lastPassDirectImportUIService);
|
await this.vault.open(email, password, clientInfo, this.lastPassDirectImportUIService, {
|
||||||
|
parseSecureNotesToAccount: false,
|
||||||
|
});
|
||||||
|
|
||||||
return this.vault.accountsToExportedCsvString(!includeSharedFolders);
|
return this.vault.accountsToExportedCsvString(!includeSharedFolders);
|
||||||
}
|
}
|
||||||
|
@ -159,7 +161,9 @@ export class LastPassDirectImportService {
|
||||||
federatedUser.username = userState.email;
|
federatedUser.username = userState.email;
|
||||||
|
|
||||||
const clientInfo = await this.createClientInfo(federatedUser.username);
|
const clientInfo = await this.createClientInfo(federatedUser.username);
|
||||||
await this.vault.openFederated(federatedUser, clientInfo, this.lastPassDirectImportUIService);
|
await this.vault.openFederated(federatedUser, clientInfo, this.lastPassDirectImportUIService, {
|
||||||
|
parseSecureNotesToAccount: false,
|
||||||
|
});
|
||||||
|
|
||||||
return this.vault.accountsToExportedCsvString(!includeSharedFolders);
|
return this.vault.accountsToExportedCsvString(!includeSharedFolders);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue