Merge pull request #9028 from QuincyLarson/fix/confirm-email-typo

fix a typo in notification
This commit is contained in:
Jonathan
2016-06-08 10:43:38 +01:00

View File

@ -88,7 +88,7 @@ module.exports = function(User) {
User.afterRemote('confirm', function(ctx) { User.afterRemote('confirm', function(ctx) {
ctx.req.flash('success', { ctx.req.flash('success', {
msg: [ msg: [
'You\'re email has been confirmed!' 'Your email has been confirmed!'
] ]
}); });
ctx.res.redirect('/'); ctx.res.redirect('/');
@ -209,7 +209,7 @@ module.exports = function(User) {
return res.redirect(redirectTo); return res.redirect(redirectTo);
} }
req.flash('success', { msg: 'Success! You are logged in.' }); req.flash('success', { msg: 'Success! You are now logged in.' });
return res.redirect('/'); return res.redirect('/');
}); });
}); });