GUACAMOLE-362: Removed unnecesary addition of username to credentials.

This commit is contained in:
Nick Couchman authored and Nick Couchman committed 2017-10-27 13:05:12 -04:00
1 parent badbf4cc7d
commit 1592cf563a
1 file changed
-1
@@ -117,7 +117,6 @@ public class AuthenticationProviderService {
AuthenticatedUser authenticatedUser = authenticatedUserProvider.get();
AttributePrincipal principal = ticketService.validateTicket(ticket);
String username = principal.getName();
credentials.setUsername(username);
Object credObj = principal.getAttributes().get("credential");
if (credObj != null) {
String clearPass = decryptPassword(credObj.toString());