Use the correct var

This commit is contained in:
Johannes Zellner
2017-01-17 16:15:19 +01:00
parent 6dc69a4d5d
commit 15cac726c4
+1 -1
View File
@@ -304,7 +304,7 @@ function userAdded(user, inviteSent) {
from: mailConfig().from,
to: adminEmails.join(', '),
subject: util.format('[%s] User %s added', config.fqdn(), user.alternateEmail || user.email),
text: render('user_added.ejs', templateData),
text: render('user_added.ejs', templateDataText),
html: render('user_added.ejs', templateDataHTML)
};