From 3311d9533a9036320364c13f18bb514b1b742d3e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 15 Mar 2019 12:28:56 +0100 Subject: Collapse 2FA admin detail settings if disabled Signed-off-by: Christoph Wurst --- settings/src/components/AdminTwoFactor.vue | 140 +++++++++++++++++------------ 1 file changed, 84 insertions(+), 56 deletions(-) (limited to 'settings/src') diff --git a/settings/src/components/AdminTwoFactor.vue b/settings/src/components/AdminTwoFactor.vue index 065ac9fbdda..34c633bd781 100644 --- a/settings/src/components/AdminTwoFactor.vue +++ b/settings/src/components/AdminTwoFactor.vue @@ -11,52 +11,54 @@ + v-model="enforced">

-

{{ t('settings', 'Limit to groups') }}

- {{ t('settings', 'Enforcement of two-factor authentication can be set for certain groups only.') }} -

- {{ t('settings', 'Two-factor authentication is enforced for all members of the following groups.') }} -

-

- - -

-

- {{ 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.') }} - -

+