mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Should send "403 - Forbidden" if user not found.
This commit is contained in:
		| @@ -113,6 +113,8 @@ public class PermissionList extends AuthenticatingHttpServlet { | ||||
|              | ||||
|             // Get specific user | ||||
|             User user = users.getUser(username); | ||||
|             if (user == null) | ||||
|                 throw new GuacamoleSecurityException("No such user."); | ||||
|              | ||||
|             // Write XML content type | ||||
|             response.setHeader("Content-Type", "text/xml"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user