summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-06-23 20:30:07 +0200
committerGitHub <noreply@github.com>2021-06-23 20:30:07 +0200
commita52ed8e6771255f197c0178d8b22ec0f1e373649 (patch)
treec4b770ac145ef227b7af52226d58109e98370387 /core
parent6656e20872afeecf2855550bd18f81ddf899cc5f (diff)
parent6030dbe064a00c70a33d9d098db0f050386ec0a7 (diff)
downloadnextcloud-server-a52ed8e6771255f197c0178d8b22ec0f1e373649.tar.gz
nextcloud-server-a52ed8e6771255f197c0178d8b22ec0f1e373649.zip
Merge pull request #27605 from nextcloud/better-security-warning
Make security warning stand out more
Diffstat (limited to 'core')
-rw-r--r--core/templates/loginflow/authpicker.php9
-rw-r--r--core/templates/loginflowv2/authpicker.php9
2 files changed, 12 insertions, 6 deletions
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index edcc5565d16..b36fbb1d2f3 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -36,9 +36,12 @@ $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>
+ <span class="warning">
+ <h3><?php p('Security warning') ?></h3>
+ <p>
+ <?php p($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>
+ </span>
<br/>
diff --git a/core/templates/loginflowv2/authpicker.php b/core/templates/loginflowv2/authpicker.php
index a32787f22b8..06ed0b0f4e5 100644
--- a/core/templates/loginflowv2/authpicker.php
+++ b/core/templates/loginflowv2/authpicker.php
@@ -35,9 +35,12 @@ $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>
+ <span class="warning">
+ <h3><?php p('Security warning') ?></h3>
+ <p>
+ <?php p($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>
+ </span>
<br/>