From cb487efa24d55d01f7a093064955a71fb1ec2085 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 21 Jan 2019 18:08:20 +0100 Subject: [PATCH] Move 2FA section above devices & sessions section Signed-off-by: Jan-Christoph Borchardt --- .../templates/settings/personal/security.php | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php index bba4a5f8e7d..e6087175c79 100644 --- a/settings/templates/settings/personal/security.php +++ b/settings/templates/settings/personal/security.php @@ -63,6 +63,32 @@ if($_['passwordChangeSupported']) { +
+

t('Two-Factor Authentication'));?>

+
    + +
  • + getDarkIcon(); + } else { + $icon = image_path('core', 'actions/password.svg'); + } + /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ + $settings = $data['settings']; + ?> +

    + + getDisplayName()) ?> +

    + getBody()->fetchPage()) ?> +
  • + +
+
+

t('Devices & sessions'));?>

t('Web, desktop and mobile clients currently logged in to your account.'));?>

@@ -99,29 +125,3 @@ if($_['passwordChangeSupported']) {
- -
-

t('Two-Factor Authentication'));?>

-
    - -
  • - getDarkIcon(); - } else { - $icon = image_path('core', 'actions/password.svg'); - } - /** @var \OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings $settings */ - $settings = $data['settings']; - ?> -

    - - getDisplayName()) ?> -

    - getBody()->fetchPage()) ?> -
  • - -
-