v1.18.x
pichalite 9 years ago
parent a7e5f596c8
commit 469dcbea05

@ -36,7 +36,7 @@ Controllers.home = function(req, res, next) {
if (err) { if (err) {
return next(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; route = settings.homePageRoute || route;
} }

Loading…
Cancel
Save