GUACAMOLE-1293: Change "username" instruction to simply "name" for clarity on its purpose.

This commit is contained in:
Virtually Nick
2022-11-08 09:25:21 -05:00
parent 22e8ba66ea
commit 9e5f101371
6 changed files with 22 additions and 22 deletions

View File

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