Updated TO nodemailer field in reset controller
This commit is contained in:
@ -75,7 +75,7 @@ exports.postReset = function(req, res, next) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
var mailOptions = {
|
var mailOptions = {
|
||||||
to: user.profile.name + ' <' + user.email + '>',
|
to: user.email,
|
||||||
from: 'hackathon@starter.com',
|
from: 'hackathon@starter.com',
|
||||||
subject: 'Your Hackathon Starter password has been changed',
|
subject: 'Your Hackathon Starter password has been changed',
|
||||||
text: 'Hello,\n\n' +
|
text: 'Hello,\n\n' +
|
||||||
|
Reference in New Issue
Block a user