From bd437581187b432fb01603e708e0fbe4a84ccfb2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 14 Aug 2017 10:42:19 +0200 Subject: Highlight client identifier in auth grant page Signed-off-by: Morris Jobke --- core/templates/loginflow/authpicker.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core/templates/loginflow') 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'];

t('Account access')) ?>

- t('You are about to grant "%s" access to your %s account.', [$_['client'], $_['instanceName']])) ?> + t('You are about to grant "%s" access to your %s account.', [ + '' . \OCP\Util::sanitizeHTML($_['client']) . '', + \OCP\Util::sanitizeHTML($_['instanceName']) + ])) ?>


-- cgit v1.2.3