{{t('settings','When groups are selected/excluded, they use the following logic to determine if a user has 2FA enforced: If no groups are selected, 2FA is enabled for everyone except members of the excluded groups. If groups are selected, 2FA is enabled for all members of these. If a user is both in a selected and excluded group, the selected takes precedence and 2FA is enforced.')}}
</em>
</p>
<templatev-if="enforced">
<h3>{{t('settings','Limit to groups')}}</h3>
{{t('settings','Enforcement of two-factor authentication can be set for certain groups only.')}}
<p>
{{t('settings','Two-factor authentication is enforced for all members of the following groups.')}}
</p>
<p>
<Multiselectv-model="enforcedGroups"
:options="groups"
:placeholder="t('settings', 'Enforced groups')"
:disabled="loading"
:multiple="true"
:searchable="true"
@search-change="searchGroup"
:loading="loadingGroups"
:show-no-options="false"
:close-on-select="false">
</Multiselect>
</p>
<p>
{{t('settings','Two-factor authentication is not enforced for members of the following groups.')}}
{{t('settings','When groups are selected/excluded, they use the following logic to determine if a user has 2FA enforced: If no groups are selected, 2FA is enabled for everyone except members of the excluded groups. If groups are selected, 2FA is enabled for all members of these. If a user is both in a selected and excluded group, the selected takes precedence and 2FA is enforced.')}}