mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-25 18:19:41 +02: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