v1.18.x
barisusakli 9 years ago
parent 951ac17a90
commit 11be93a4d8

@ -104,6 +104,10 @@ settingsController.get = function(req, res, callback) {
}
});
if (isCustom && userData.settings.homePageRoute === 'none') {
isCustom = false;
}
userData.homePageRoutes.push({
route: 'custom',
name: 'Custom',
@ -125,7 +129,7 @@ settingsController.get = function(req, res, callback) {
userData.disableCustomUserSkins = parseInt(meta.config.disableCustomUserSkins, 10) === 1;
userData.allowUserHomePage = parseInt(meta.config.allowUserHomePage, 10) === 1;
userData.inTopicSearchAvailable = plugins.hasListeners('filter:topic.search');
userData.title = '[[pages:account/settings]]';

Loading…
Cancel
Save