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

supabase / auth / 10180835942
69%

Build:
DEFAULT BRANCH: master
Ran 31 Jul 2024 01:13PM UTC
Jobs 1
Files 127
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2024 01:07PM UTC coverage: 58.2% (-0.02%) from 58.219%
10180835942

push

github

web-flow
fix: MFA NewFactor to default to creating unverfied factors (#1692)

## What kind of change does this PR introduce?

- Split `NewFactor` into `NewPhoneFactor()` and `NewTOTPFactor()`. 
- All `New<Type>Factor` methods will now create unverified factors.
- Additionally, also guards the `Challenge` endpoint when verification
is disabled for a factor.


The hope is to reduce cognitive load and the chance of creating a factor
in an undesired state


Should one wish to obtain a Verified Factor (say for tests) they can
call `UpdateStatus`. It is unlikely for this to be a common use case
though.

Someone might have brought this up prior but only getting to it now

14 of 20 new or added lines in 2 files covered. (70.0%)

9163 of 15744 relevant lines covered (58.2%)

54.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
62.32
-0.4% internal/api/mfa.go
Jobs
ID Job ID Ran Files Coverage
1 10180835942.1 31 Jul 2024 01:13PM UTC 127
58.2
GitHub Action Run
Source Files on build 10180835942
  • Tree
  • List 127
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3d448fa7 on github
  • Prev Build on master (#10157498258)
  • Next Build on master (#10181334924)
  • Delete
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