From 511df0ec99ddc8beb855d8741b3a0dec569bed5e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 12 Dec 2016 10:20:35 +0100 Subject: [PATCH 1/2] Move log out and back codes link into 2fa box for better readability Fixes https://github.com/nextcloud/server/issues/2538 Signed-off-by: Christoph Wurst --- core/templates/twofactorselectchallenge.php | 21 +++++++++------- core/templates/twofactorshowchallenge.php | 27 ++++++++++++--------- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 5cfba8bcb4..813d157288 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -18,13 +18,16 @@

+ ->t('Cancel log in')) ?> - -t('Use backup code')) ?> -
-

getDisplayName()); ?>

- +

getDisplayName()); ?>

+

t('Error while validating your second factor')); ?>

+ + +
->t('Cancel log in')) ?> - -t('Use backup code')) ?> - Date: Mon, 6 Mar 2017 11:00:58 +0100 Subject: [PATCH 2/2] Use button instead of simple links Signed-off-by: Christoph Wurst --- core/templates/twofactorselectchallenge.php | 5 ++--- core/templates/twofactorshowchallenge.php | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/core/templates/twofactorselectchallenge.php b/core/templates/twofactorselectchallenge.php index 813d157288..431f4c78c2 100644 --- a/core/templates/twofactorselectchallenge.php +++ b/core/templates/twofactorselectchallenge.php @@ -19,10 +19,9 @@