diff options
author | Joas Schilling <coding@schilljs.com> | 2017-08-24 18:02:37 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-24 18:02:37 +0200 |
commit | 6a130d01e7ec5d306533a6cdcc7079c049c40f22 (patch) | |
tree | 3f7de36074774b661734bc1786364b92edcebd9b /core | |
parent | 09747b296ac48789bf636d230afd5e4499166838 (diff) | |
download | nextcloud-server-6a130d01e7ec5d306533a6cdcc7079c049c40f22.tar.gz nextcloud-server-6a130d01e7ec5d306533a6cdcc7079c049c40f22.zip |
Also for reset password
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/LostController.php | 3 |
1 files changed, 3 insertions, 0 deletions
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')); |