Updating forgotten password email template

closes #288

- added sign off using url from config
This commit is contained in:
Hannah Wolfe 2013-09-09 11:51:12 +01:00
parent 1e90c2dfbf
commit 946544996c

View File

@ -176,7 +176,10 @@ adminControllers = {
to: email,
subject: 'Your new password',
html: "<p><strong>Hello!</strong></p>" +
"<p>You've reset your password. Here's the new one: " + user.newPassword + "</p>"
"<p>You've reset your password. Here's the new one: " + user.newPassword + "</p>" +
"<p>Ghost <br/>" +
'<a href="' + ghost.config().env[process.env.NODE_ENV].url + '">' +
ghost.config().env[process.env.NODE_ENV].url + '</a></p>'
};
return ghost.mail.send(message);