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

v1.18.x
Josh Rickers 11 years ago
parent 94f38d0622
commit bac1a5ec3e

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

Loading…
Cancel
Save