mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-38: Quick fix-up for userContext object in AuthenticationProvider
This commit is contained in:
@@ -45,7 +45,11 @@ public class QuickConnectAuthenticationProvider extends AbstractAuthenticationPr
|
||||
public UserContext getUserContext(AuthenticatedUser authenticatedUser)
|
||||
throws GuacamoleException {
|
||||
|
||||
return new QuickConnectUserContext(this, authenticatedUser.getIdentifier());
|
||||
if (userContext == null)
|
||||
userContext = new QuickConnectUserContext(this,
|
||||
authenticatedUser.getIdentifier());
|
||||
|
||||
return userContext;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user