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

same method can be registered multiple times #657

Closed jpaniagualaconich closed 1 year ago

jpaniagualaconich commented 1 year ago

The plugin registry does not check if the method is already registered before registering it again.

Expected Behavior

It should silently ignore the registration of a previously registered method.

Current Behavior

It adds the method.