mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-16 11:37:37 +01:00
updated groups to stop you from removing yourself from the admin group
This commit is contained in:
@@ -429,7 +429,8 @@ var nconf = require('nconf'),
|
||||
expand: true
|
||||
}, function (err, groups) {
|
||||
res.json(200, {
|
||||
groups: groups
|
||||
groups: groups,
|
||||
yourid: req.user.uid
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user