Skip to content

Commit

Permalink
Merge pull request #27605 from nextcloud/better-security-warning
Browse files Browse the repository at this point in the history
Make security warning stand out more
  • Loading branch information
LukasReschke authored Jun 23, 2021
2 parents 6656e20 + 6030dbe commit a52ed8e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions core/templates/loginflow/authpicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@
])) ?>
</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/>

Expand Down
9 changes: 6 additions & 3 deletions core/templates/loginflowv2/authpicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@
])) ?>
</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/>

Expand Down

0 comments on commit a52ed8e

Please sign in to comment.