summaryrefslogtreecommitdiffstats
path: root/settings/Mailer
diff options
context:
space:
mode:
Diffstat (limited to 'settings/Mailer')
-rw-r--r--settings/Mailer/NewUserMailHelper.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/settings/Mailer/NewUserMailHelper.php b/settings/Mailer/NewUserMailHelper.php
index cd6d6ee67f5..1571cfdcb49 100644
--- a/settings/Mailer/NewUserMailHelper.php
+++ b/settings/Mailer/NewUserMailHelper.php
@@ -139,6 +139,14 @@ class NewUserMailHelper {
);
$emailTemplate->addFooter();
+ $emailTemplate->setMetaData('settings.Welcome', [
+ 'link' => $link,
+ 'displayname' => $displayName,
+ 'username' => $userName,
+ 'instancename' => $this->themingDefaults->getName(),
+ 'resetTokenGenerated' => $generatePasswordResetToken,
+ ]);
+
return $emailTemplate;
}