• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 11165238010

03 Oct 2024 03:46PM UTC coverage: 57.967% (+0.001%) from 57.966%
11165238010

push

github

web-flow
fix: refactor mfa validation into functions (#1780)

## What kind of change does this PR introduce?

We make the following changes:
- Move all checks for factor validation into a single function. This
ensures that we can re-use it across methods so we don't miss checks
- Removes un-used functions
- For MFA (TOTP) changes the duplicate friendly name from one that is
done at the database level to one that is done at the application level.
This aligns with MFA (Phone)

30 of 41 new or added lines in 1 file covered. (73.17%)

9 existing lines in 2 files now uncovered.

9342 of 16116 relevant lines covered (57.97%)

56.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

65.84
/internal/api/mfa.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc