|
|
@ -50,7 +50,7 @@ settingsController.get = function(req, res, callback) {
|
|
|
|
function(results, next) {
|
|
|
|
function(results, next) {
|
|
|
|
userData.settings = results.settings;
|
|
|
|
userData.settings = results.settings;
|
|
|
|
userData.userGroups = results.userGroups[0].filter(function(group) {
|
|
|
|
userData.userGroups = results.userGroups[0].filter(function(group) {
|
|
|
|
return group && group.userTitleEnabled && !groups.isPrivilegeGroup(group.name);
|
|
|
|
return group && group.userTitleEnabled && !groups.isPrivilegeGroup(group.name) && group.name !== 'registered-users';
|
|
|
|
});
|
|
|
|
});
|
|
|
|
userData.languages = results.languages;
|
|
|
|
userData.languages = results.languages;
|
|
|
|
userData.homePageRoutes = results.homePageRoutes;
|
|
|
|
userData.homePageRoutes = results.homePageRoutes;
|
|
|
|