mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	closes #4906
This commit is contained in:
		| @@ -222,7 +222,7 @@ apiController.getObject = function(req, res, next) { | |||||||
|  |  | ||||||
| apiController.getCurrentUser = function(req, res, next) { | apiController.getCurrentUser = function(req, res, next) { | ||||||
| 	if (!req.uid) { | 	if (!req.uid) { | ||||||
| 		return helpers.notAllowed(req, res); | 		return res.status(401).json('not-authorized'); | ||||||
| 	} | 	} | ||||||
| 	async.waterfall([ | 	async.waterfall([ | ||||||
| 		function(next) { | 		function(next) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user