updated groups to stop you from removing yourself from the admin group

This commit is contained in:
Josh Rickers
2014-01-21 19:37:01 +00:00
parent 94f38d0622
commit bac1a5ec3e

View File

@@ -429,7 +429,8 @@ var nconf = require('nconf'),
expand: true
}, function (err, groups) {
res.json(200, {
groups: groups
groups: groups,
yourid: req.user.uid
});
});
});