diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2021-06-22 19:23:26 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2021-06-22 19:23:26 +0200 |
commit | a1fe771a7d04ee66cc39dddf9aae26f85b67f62c (patch) | |
tree | 4050ecaa6e85b039578e314d77c29bf9810c147d /core | |
parent | 1c8f5cbc8275606d290d0ce56fb329f3106ee7f6 (diff) | |
download | nextcloud-server-a1fe771a7d04ee66cc39dddf9aae26f85b67f62c.tar.gz nextcloud-server-a1fe771a7d04ee66cc39dddf9aae26f85b67f62c.zip |
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 <lukas@statuscode.ch>
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/loginflow/authpicker.php | 4 | ||||
-rw-r--r-- | 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 edcc5565d16..70bdfec7e08 100644 --- a/core/templates/loginflow/authpicker.php +++ b/core/templates/loginflow/authpicker.php @@ -36,8 +36,8 @@ $urlGenerator = $_['urlGenerator']; ])) ?> </p> - <p class="info"> - <?php print_unescaped($l->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.')) ?> + <p class="warning"> + <?php print_unescaped($l->t('<strong>Security warning:</strong> 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.')) ?> </p> <br/> diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php index a32787f22b8..01f31f5f52b 100644 --- a/core/templates/loginflowv2/authpicker.php +++ b/core/templates/loginflowv2/authpicker.php @@ -35,8 +35,8 @@ $urlGenerator = $_['urlGenerator']; ])) ?> </p> - <p class="info"> - <?php print_unescaped($l->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.')) ?> + <p class="warning"> + <?php print_unescaped($l->t('<strong>Security warning:</strong> 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.')) ?> </p> <br/> |