mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1293: Change "username" instruction to simply "name" for clarity on its purpose.
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user