mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +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