From 597f137a2b19a1cede33b981a518ca1df40a71cb Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Tue, 18 Feb 2014 02:38:31 -0500 Subject: [PATCH] Update flash message on successful forgot password request --- controllers/forgot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/forgot.js b/controllers/forgot.js index fc7ee2b76a..5e48af19eb 100644 --- a/controllers/forgot.js +++ b/controllers/forgot.js @@ -74,7 +74,7 @@ exports.postForgot = function(req, res) { 'If you did not request this, please ignore this email and your password will remain unchanged.\n' }; smtpTransport.sendMail(mailOptions, function(err) { - req.flash('info', { msg: 'We have sent an email to ' + user.email + ' for further instructions.' }); + req.flash('info', { msg: 'An e-mail has been sent to ' + user.email + ' with further instructions.' }); done(err, 'done'); res.redirect('/forgot'); });