@ -85,6 +85,9 @@ module.exports = function (User) {
template: 'invitation',
};
// Append default data to this email payload
data = Object.assign({}, emailer._defaultPayload, data);
emailer.sendToEmail('invitation', email, meta.config.defaultLang, data, next);
});
},
@ -29,7 +29,6 @@
<!-- IF reason -->
<tr>
<td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
<h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 24px; line-height: 27px; color: #333333; font-weight: normal;">[[email:greeting_with_name, {username}]]</h1>
<p style="margin: 0;">
[[email:banned.text3]]
<br><br>{reason}