From 6a130d01e7ec5d306533a6cdcc7079c049c40f22 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 24 Aug 2017 18:02:37 +0200 Subject: Also for reset password Signed-off-by: Joas Schilling --- core/Controller/LostController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php index d23a6c2970d..45423b41e8b 100644 --- a/core/Controller/LostController.php +++ b/core/Controller/LostController.php @@ -306,6 +306,9 @@ class LostController extends Controller { $link = $this->urlGenerator->linkToRouteAbsolute('core.lost.resetform', array('userId' => $user->getUID(), 'token' => $token)); $emailTemplate = $this->mailer->createEMailTemplate(); + $emailTemplate->setMetaData('core.ResetPassword', [ + 'link' => $link, + ]); $emailTemplate->addHeader(); $emailTemplate->addHeading($this->l10n->t('Password reset')); -- cgit v1.2.3