diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-09-05 16:08:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 16:08:57 +0200 |
commit | 15cd21d252b9da706be817df77e4c0643b40327f (patch) | |
tree | a38c9c53c35c3a40fbd8ee2bf2c5d05fac586918 /core/Controller | |
parent | cebbb1633aab6c1dfb20be9b49212b934c3b5e68 (diff) | |
parent | 4e3c39c1d1210b6216462e8e26db93f65a4767e6 (diff) | |
download | nextcloud-server-15cd21d252b9da706be817df77e4c0643b40327f.tar.gz nextcloud-server-15cd21d252b9da706be817df77e4c0643b40327f.zip |
Merge pull request #6358 from nextcloud/fix-mixup-of-id-and-name
Set the meta data before everything
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LostController.php | 3 |
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, ]); |