Skip to content

Commit

Permalink
fix: refactor TOTP MFA into separate methods (supabase#1698)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

Refactors TOTP, Challenge, Enroll, and Verify into separate branches for
consistency with other methods and also readability.

Adds an additional check to ensure a user must own a factor in order to
challenge it.

---------

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
  • Loading branch information
2 people authored and LashaJini committed Nov 15, 2024
1 parent e3f1b6d commit 0f61b6c
Showing 1 changed file with 150 additions and 122 deletions.
Loading

0 comments on commit 0f61b6c

Please sign in to comment.