diff options
author | Joas Schilling <coding@schilljs.com> | 2018-02-15 12:18:51 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-02-15 12:18:51 +0100 |
commit | 339e32006479daf9e11152c386c34e6b2d757cf2 (patch) | |
tree | c7bb185e0e03d3a6766c18fc7ce56f14c8a5b71f /core/Controller | |
parent | 350e38396f5c90894fb539d35f7815af93f01570 (diff) | |
download | nextcloud-server-339e32006479daf9e11152c386c34e6b2d757cf2.tar.gz nextcloud-server-339e32006479daf9e11152c386c34e6b2d757cf2.zip |
Fix existing usages
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LostController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index e7462180388..90a1176ae83 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -321,12 +321,12 @@ class LostController extends Controller { $emailTemplate->addHeading($this->l10n->t('Password reset')); $emailTemplate->addBodyText( - $this->l10n->t('Click the following button to reset your password. If you have not requested the password reset, then ignore this email.'), + htmlspecialchars($this->l10n->t('Click the following button to reset your password. If you have not requested the password reset, then ignore this email.')), $this->l10n->t('Click the following link to reset your password. If you have not requested the password reset, then ignore this email.') ); $emailTemplate->addBodyButton( - $this->l10n->t('Reset your password'), + htmlspecialchars($this->l10n->t('Reset your password')), $link, false ); |