Skip to content

Commit

Permalink
CP-9955: Fix unable to add/remove MFA (#2301)
Browse files Browse the repository at this point in the history
  • Loading branch information
atn4z7 committed Feb 20, 2025
1 parent c5501db commit 6129abd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/core-mobile/app/seedless/hooks/useVerifyMFA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ function useVerifyMFA(session: SeedlessSession): {
}
})
} else if (mfa.type === 'fido') {
const mfaId = response.mfaId()

if (!mfaId) {
throw new Error('MFA ID is missing')
}

verifyFido({
mfaId: mfa.id,
mfaId,
response,
onVerifySuccess
})
Expand Down

0 comments on commit 6129abd

Please sign in to comment.