Merge pull request #4321 from pichalite/issue-4320

fixes #4320
v1.18.x
Julian Lam 9 years ago
commit 88372ed969

@ -36,7 +36,7 @@ Controllers.home = function(req, res, next) {
if (err) {
return next(err);
}
if (settings.homePageRoute !== 'undefined' && settings.homePageRoute !== 'none') {
if (parseInt(meta.config.allowUserHomePage, 10) === 1 && settings.homePageRoute !== 'undefined' && settings.homePageRoute !== 'none') {
route = settings.homePageRoute || route;
}

Loading…
Cancel
Save