feat: make encrypted backups protected (#524)

Co-authored-by: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com>
This commit is contained in:
Antonella Sgarlatta
2021-03-02 08:06:47 -03:00
committed by GitHub
parent 3fa86428ba
commit d49e508cfc
3 changed files with 6 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ export class ArchiveManager {
? EncryptionIntent.FileEncrypted
: EncryptionIntent.FileDecrypted;
const data = await this.application.createBackupFile(intent);
const data = await this.application.createBackupFile(intent, true);
if (!data) {
return;
}