Describe the bug
Hi,
Prior to version 0.16.0, we used the two_factor_enabled_providers_for_user filter to programmatically disable all providers for a specific user when they accessed the site from our company IP address.
After updating to version 0.16.0, this behavior seems to have changed. When the provider list is empty, the plugin now automatically enables email as a provider.
Would it be possible to add either:
- an extra filter to explicitly allow an empty provider list, or
- an IP whitelist filter to support this use case?
Regards,
Floris Jansen
Steps to Reproduce
Update to version 0.16.0
Screenshots, screen recording, code snippet
No response
Environment information
No response
Please confirm that you have searched existing issues in this repository.
Yes
Please confirm that you have tested with all plugins deactivated except Two-Factor.
Yes
Describe the bug
Hi,
Prior to version 0.16.0, we used the
two_factor_enabled_providers_for_userfilter to programmatically disable all providers for a specific user when they accessed the site from our company IP address.After updating to version 0.16.0, this behavior seems to have changed. When the provider list is empty, the plugin now automatically enables
emailas a provider.Would it be possible to add either:
Regards,
Floris Jansen
Steps to Reproduce
Update to version 0.16.0
Screenshots, screen recording, code snippet
No response
Environment information
No response
Please confirm that you have searched existing issues in this repository.
Yes
Please confirm that you have tested with all plugins deactivated except Two-Factor.
Yes