From a1fe771a7d04ee66cc39dddf9aae26f85b67f62c Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 22 Jun 2021 19:23:26 +0200 Subject: [PATCH 1/2] Make security warning stand out more The security warning is currently being ignored by too many users as it's part of the text and not visually distinct. Ref #26944 Signed-off-by: Lukas Reschke --- core/templates/loginflow/authpicker.php | 4 ++-- core/templates/loginflowv2/authpicker.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php index edcc5565d167e..70bdfec7e0809 100644 --- a/core/templates/loginflow/authpicker.php +++ b/core/templates/loginflow/authpicker.php @@ -36,8 +36,8 @@ ])) ?>

-

- t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> +

+ t('Security warning: If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?>


diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php index a32787f22b890..01f31f5f52b09 100644 --- a/core/templates/loginflowv2/authpicker.php +++ b/core/templates/loginflowv2/authpicker.php @@ -35,8 +35,8 @@ ])) ?>

-

- t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> +

+ t('Security warning: If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?>


From 6030dbe064a00c70a33d9d098db0f050386ec0a7 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 23 Jun 2021 15:12:03 +0200 Subject: [PATCH 2/2] Move header into h3 Signed-off-by: Lukas Reschke --- core/templates/loginflow/authpicker.php | 9 ++++++--- core/templates/loginflowv2/authpicker.php | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php index 70bdfec7e0809..b36fbb1d2f3df 100644 --- a/core/templates/loginflow/authpicker.php +++ b/core/templates/loginflow/authpicker.php @@ -36,9 +36,12 @@ ])) ?>

-

- t('Security warning: If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> -

+ +

+

+ t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> +

+

diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php index 01f31f5f52b09..06ed0b0f4e519 100644 --- a/core/templates/loginflowv2/authpicker.php +++ b/core/templates/loginflowv2/authpicker.php @@ -35,9 +35,12 @@ ])) ?>

-

- t('Security warning: If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> -

+ +

+

+ t('If you are not trying to set up a new device or app, someone is trying to trick you into granting them access to your data. In this case do not proceed and instead contact your system administrator.')) ?> +

+