Skip to content

Commit

Permalink
Don't reset key backup when creating a recovery key
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Jan 13, 2025
1 parent f78c27a commit cee03f0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
Expand Down

0 comments on commit cee03f0

Please sign in to comment.