supabase / auth

A JWT based API for managing users and issuing JWT tokens
https://supabase.com/docs/guides/auth
MIT License
1.56k stars 376 forks source link

fix: update mfa admin methods #1774

Closed J0 closed 2 months ago

J0 commented 2 months ago

What kind of change does this PR introduce?

Update admin MFA methods to allow an admin to update a phone factor's phone number. Also disallows and removes factor type as an updatable field. Having the factor type field is redundant as it previously allowed for update of only one factor type (TOTP).

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 10830767253

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/api/admin.go 4 5 80.0%
<!-- Total: 8 9 88.89% -->
Files with Coverage Reduction New Missed Lines %
internal/api/admin.go 3 65.75%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 10813800948: -0.02%
Covered Lines: 9135
Relevant Lines: 15782

💛 - Coveralls