diff --git a/src/controllers/groups.js b/src/controllers/groups.js index 01474aba64..88562efc54 100644 --- a/src/controllers/groups.js +++ b/src/controllers/groups.js @@ -13,6 +13,11 @@ groupsController.list = function(req, res, next) { if (err) { return next(err); } + + groups = groups.filter(function(group) { + return group && !group.hidden && !group.system; + }); + res.render('groups/list', { groups: groups, allowGroupCreation: parseInt(meta.config.allowGroupCreation, 10) === 1