diff --git a/frontend/app/[team]/recovery/page.tsx b/frontend/app/[team]/recovery/page.tsx index 081df7d3b..8f151e72a 100644 --- a/frontend/app/[team]/recovery/page.tsx +++ b/frontend/app/[team]/recovery/page.tsx @@ -79,6 +79,7 @@ export default function Recovery({ params }: { params: { team: string } }) { if (accountKeyRing.publicKey !== org?.identityKey) { toast.error('Incorrect account recovery key!') reject('Incorrect account recovery key') + return; } const deviceKey = await deviceVaultKey(pw, session?.user?.email!)