Redirect to settings on activation
This commit is contained in:
parent
c701728e7e
commit
6b33391458
|
@ -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'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue