mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[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
|
||||
): 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user