-
-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
computing phone method availability is done in different places using different criteria #665
Comments
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
8 tasks
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 10, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 11, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Sep 11, 2023
jpaniagualaconich
added a commit
to jpaniagualaconich/django-two-factor-auth
that referenced
this issue
Feb 3, 2024
claudep
pushed a commit
that referenced
this issue
Feb 3, 2024
claudep
pushed a commit
that referenced
this issue
Feb 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
There should be a single way to check which phone methods are available.
Current Behavior
In some places availability is determined by the presence of
'two_factor.plugins.phonenumber'
inINSTALLED_APPS
.Other places take into account also / only values for
settings.TWO_FACTOR_CALL_GATEWAY
andsettings.TWO_FACTOR_SMS_GATEWAY
.Possible Solution
We already have a method registry, which should be the only source of truth.
The text was updated successfully, but these errors were encountered: