GUACAMOLE-1293: Change "username" instruction to simply "name" for clarity on its purpose.
This commit is contained in:
1 parent
22e8ba66ea
commit
9e5f101371
6 files changed
+22
-22
No files matched your search
@@ -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