GUACAMOLE-1293: Change handshake instruction and client to username.

This commit is contained in:
Virtually Nick
2022-04-01 19:47:35 -04:00
parent 236164c6ec
commit d0b5ffe967
4 changed files with 17 additions and 17 deletions

View File

@@ -342,9 +342,9 @@ public class TunnelRequestService {
UserContext userContext = session.getUserContext(authProviderIdentifier);
// Attempt to get the username and set it for the tunnel client.
String name = authenticatedUser.getCredentials().getUsername();
if (name != null)
info.setName(name);
String username = authenticatedUser.getCredentials().getUsername();
if (username != null)
info.setUsername(username);
try {