summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-06-22 19:23:26 +0200
committerLukas Reschke <lukas@statuscode.ch>2021-06-22 19:23:26 +0200
commita1fe771a7d04ee66cc39dddf9aae26f85b67f62c (patch)
tree4050ecaa6e85b039578e314d77c29bf9810c147d /core
parent1c8f5cbc8275606d290d0ce56fb329f3106ee7f6 (diff)
downloadnextcloud-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.php4
-rw-r--r--core/templates/loginflowv2/authpicker.php4
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/>