mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
avoid using the SDK to decrypt attachments for emergency access (#16293)
- The SDK does not have emergency access functionality built in at this point.
This commit is contained in:
@@ -92,6 +92,9 @@ export class DownloadAttachmentComponent {
|
||||
this.attachment,
|
||||
response,
|
||||
userId,
|
||||
// When the emergency access ID is present, the cipher is being viewed via emergency access.
|
||||
// Force legacy decryption in these cases.
|
||||
this.emergencyAccessId ? true : false,
|
||||
);
|
||||
|
||||
this.fileDownloadService.download({
|
||||
|
||||
Reference in New Issue
Block a user