From cee03f038cac1cd09476044ee67fe8a9c3cf4392 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Mon, 13 Jan 2025 15:06:03 +0100 Subject: [PATCH] Don't reset key backup when creating a recovery key --- src/components/views/settings/encryption/ChangeRecoveryKey.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/views/settings/encryption/ChangeRecoveryKey.tsx b/src/components/views/settings/encryption/ChangeRecoveryKey.tsx index 0f80cf99643..7e02d7debde 100644 --- a/src/components/views/settings/encryption/ChangeRecoveryKey.tsx +++ b/src/components/views/settings/encryption/ChangeRecoveryKey.tsx @@ -123,7 +123,6 @@ export function ChangeRecoveryKey({ // when we will try to access the secret storage during the bootstrap await withSecretStorageKeyCache(() => crypto.bootstrapSecretStorage({ - setupNewKeyBackup: !userHasRecoveryKey, setupNewSecretStorage: true, createSecretStorageKey: async () => recoveryKey, }),