Fixed an issue with broken archive link. Added plaintext versions for transactional messages
This commit is contained in:
parent
4584c85b4b
commit
06d5e0d9bf
11 changed files with 144 additions and 63 deletions
|
@ -218,8 +218,10 @@ module.exports.sendReset = (username, callback) => {
|
|||
},
|
||||
subject: 'Mailer password change request'
|
||||
}, {
|
||||
template: 'emails/password-reset.hbs',
|
||||
html: 'emails/password-reset-html.hbs',
|
||||
text: 'emails/password-reset-text.hbs',
|
||||
data: {
|
||||
title: 'Mailtrain',
|
||||
username: rows[0].username,
|
||||
confirmUrl: urllib.resolve(configItems.serviceUrl, '/users/reset') + '?token=' + encodeURIComponent(resetToken) + '&username=' + encodeURIComponent(rows[0].username)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue