1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00: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

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() {