Also for reset password

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-08-24 18:02:37 +02:00 committed by Morris Jobke
parent 7df1ddcf2c
commit 485dbc8d6c
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 3 additions and 0 deletions

View File

@ -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'));