1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

[PM-4510] LP importer disable parseSecureNotesToAccount (#6676)

This commit is contained in:
Will Martin 2023-10-23 20:31:51 -04:00 committed by GitHub
parent 6355a1964b
commit cb60046ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,9 @@ export class LastPassDirectImportService {
includeSharedFolders: boolean
): Promise<string> {
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);
}
@ -159,7 +161,9 @@ export class LastPassDirectImportService {
federatedUser.username = userState.email;
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);
}