GUACAMOLE-394: No need to explicitly set ID - it's automatically pulled from the username.
This commit is contained in:
1 parent
446a9d0e12
commit
3ccb4d4ac1
1 file changed
-1
-1
@@ -132,7 +132,6 @@ public class ModeledUserContext extends RestrictedObject
|
||||
|
||||
// Create login record for user
|
||||
userRecord = new ActivityRecordModel();
|
||||
userRecord.setUserID(currentUser.getUser().getModel().getObjectID());
|
||||
userRecord.setUsername(currentUser.getIdentifier());
|
||||
userRecord.setStartDate(new Date());
|
||||
userRecord.setRemoteHost(currentUser.getCredentials().getRemoteHostname());
|
||||
|
||||
Reference in new issue
Block a user