summaryrefslogtreecommitdiffstats
path: root/core/Controller/LostController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/LostController.php')
-rw-r--r--core/Controller/LostController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index 45423b41e8b..4c59b0a1c00 100644
--- a/core/Controller/LostController.php
+++ b/core/Controller/LostController.php
@@ -305,8 +305,7 @@ 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', [
+ $emailTemplate = $this->mailer->createEMailTemplate('core.ResetPassword', [
'link' => $link,
]);