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
1 changed files with 5 additions and 1 deletions

View File

@ -64,7 +64,11 @@ export class OrganizationExportComponent extends ExportComponent {
}
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() {