Enabling "Users must use Two Factor Authentication" makes accounts with this role and no 2fa enabled completely unusable without any warning.
Enabling this setting should not be possible while users with this role do not have 2fa enabled.
It is not possible to disable this setting once activated. This seems like a bug, otherwise the user should be warned and the checkbox be disabled.
Description:
Enabling "Users must use Two Factor Authentication" makes accounts with this role and no 2fa enabled completely unusable without any warning. Enabling this setting should not be possible while users with this role do not have 2fa enabled.
It is not possible to disable this setting once activated. This seems like a bug, otherwise the user should be warned and the checkbox be disabled.
Steps to reproduce:
/admin/permissions/admin/edit
Expected behavior:
Actual behavior:
Server Setup Information:
Client Setup Information
Additional context
Relevant logs: