Flash notification on OAuth Provider Unlink

This commit is contained in:
Sahat Yalkabov
2014-02-01 00:04:54 -05:00
parent ea573672fb
commit fdecdc5b53

View File

@ -195,6 +195,7 @@ exports.getOauthUnlink = function(req, res, next) {
user.save(function(err) {
if (err) return next(err);
req.flash('info', { msg: provider + ' account has been unlinked.' });
res.redirect('/account');
});
});