summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-14 10:42:19 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-14 10:42:19 +0200
commitbd437581187b432fb01603e708e0fbe4a84ccfb2 (patch)
tree532bf0a02c849e00a33c064770a9d86f51171c84 /core/templates
parentebdfcb1fe3056635cf4aeb2e6b23766e752056ea (diff)
downloadnextcloud-server-bd437581187b432fb01603e708e0fbe4a84ccfb2.tar.gz
nextcloud-server-bd437581187b432fb01603e708e0fbe4a84ccfb2.zip
Highlight client identifier in auth grant page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/loginflow/authpicker.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/templates/loginflow/authpicker.php b/core/templates/loginflow/authpicker.php
index 40c18674170..0d0a38ac480 100644
--- a/core/templates/loginflow/authpicker.php
+++ b/core/templates/loginflow/authpicker.php
@@ -30,7 +30,10 @@ $urlGenerator = $_['urlGenerator'];
<div class="picker-window">
<h2><?php p($l->t('Account access')) ?></h2>
<p class="info">
- <?php p($l->t('You are about to grant "%s" access to your %s account.', [$_['client'], $_['instanceName']])) ?>
+ <?php print_unescaped($l->t('You are about to grant "%s" access to your %s account.', [
+ '<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
+ \OCP\Util::sanitizeHTML($_['instanceName'])
+ ])) ?>
</p>
<br/>