1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

adding encrypted export with password functionality to web/organizations (#3858)

This commit is contained in:
cd-bitwarden 2022-10-20 16:47:58 -04:00 committed by GitHub
parent 6512f21683
commit 836dba3519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,11 @@ export class OrganizationExportComponent extends ExportComponent {
} }
getExportData() { getExportData() {
return this.exportService.getOrganizationExport(this.organizationId, this.format); if (this.isFileEncryptedExport) {
return this.exportService.getPasswordProtectedExport(this.filePassword, this.organizationId);
} else {
return this.exportService.getOrganizationExport(this.organizationId, this.format);
}
} }
getFileName() { getFileName() {