Flask-Middleware / flask-security

Quick and simple security for Flask applications
MIT License
622 stars 154 forks source link

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

Open fredipevcin opened 3 days ago

fredipevcin commented 3 days ago

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

codecov[bot] commented 3 days 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 (5bbb5c6).

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.