Redirect to settings on activation

This commit is contained in:
Thomas Forgione 2017-09-25 19:39:14 +00:00
parent c701728e7e
commit 6b33391458
No known key found for this signature in database
GPG Key ID: 95D964F74A96119E
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ module.exports.activate = function(req, res, render, next) {
user.save((err, user) => { user.save((err, user) => {
req.session.user = user; req.session.user = user;
req.session.save(); req.session.save();
res.redirect(getUrl('index')); res.redirect(getUrl('settings'));
}); });
}); });
} }