jazzband / django-two-factor-auth

Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
MIT License
1.71k stars 448 forks source link

phone methods remain in registry after taking out 'two_factor.plugins.phonenumber' from INSTALLED_APPS #663

Closed jpaniagualaconich closed 9 months ago

jpaniagualaconich commented 1 year ago

Expected Behavior

two_factor.plugins.phonenumber.app.register_methods should unregister PhoneCallMethod and SMSMethod if the phone number plug-in is removed.

Current Behavior

They stay registered after removing the phone number plug-in.