pallets-eco / flask-security

Quick and simple security for Flask applications
MIT License
635 stars 155 forks source link

Don't show sms option if it's not defined in US_ENABLED_METHODS #995

Closed fredipevcin closed 2 months ago

fredipevcin commented 3 months ago

field us_phone_number was required and there was still option to use SMS as an auth.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.49%. Comparing base (25ad68d) to head (95c1d0b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #995 +/- ## ======================================= Coverage 98.49% 98.49% ======================================= Files 37 37 Lines 4777 4783 +6 ======================================= + Hits 4705 4711 +6 Misses 72 72 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.