Browse Source
Also for reset password
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/6255/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
3 additions and
0 deletions
-
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')); |
|
|
|
|