mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	closes #3240
This commit is contained in:
		| @@ -97,7 +97,7 @@ usersController.getUsersAndCount = function(set, uid, start, stop, callback) { | ||||
| }; | ||||
|  | ||||
| usersController.getUsersForSearch = function(req, res, next) { | ||||
| 	if (!req.uid) { | ||||
| 	if (!req.uid && parseInt(meta.config.allowGuestUserSearching, 10) !== 1) { | ||||
| 		return helpers.notAllowed(req, res); | ||||
| 	} | ||||
| 	var resultsPerPage = parseInt(meta.config.userSearchResultsPerPage, 10) || 20; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user