mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-549: Merge do not automatically create HttpSession.
This commit is contained in:
		| @@ -121,7 +121,7 @@ public class TokenRESTService { | ||||
|         credentials.setUsername(username); | ||||
|         credentials.setPassword(password); | ||||
|         credentials.setRequest(request); | ||||
|         credentials.setSession(request.getSession(true)); | ||||
|         credentials.setSession(request.getSession(false)); | ||||
|         credentials.setRemoteAddress(request.getRemoteAddr()); | ||||
|         credentials.setRemoteHostname(request.getRemoteHost()); | ||||
|  | ||||
|   | ||||
| @@ -158,7 +158,7 @@ public class UserResource | ||||
|         credentials.setUsername(user.getIdentifier()); | ||||
|         credentials.setPassword(userPasswordUpdate.getOldPassword()); | ||||
|         credentials.setRequest(request); | ||||
|         credentials.setSession(request.getSession(true)); | ||||
|         credentials.setSession(request.getSession(false)); | ||||
|         credentials.setRemoteAddress(request.getRemoteAddr()); | ||||
|         credentials.setRemoteHostname(request.getRemoteHost()); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user