mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-10-27 07:03:07 +00:00
GUACAMOLE-1239: Fix issue with records added by non-JDBC connections.
This commit is contained in:
@@ -57,12 +57,6 @@ public class HistoryTrackingConnection extends DelegatingConnection {
|
||||
*/
|
||||
private final ConnectionRecordMapper connectionRecordMapper;
|
||||
|
||||
/**
|
||||
* The Guacamole server environment.
|
||||
*/
|
||||
@Inject
|
||||
private JDBCEnvironment environment;
|
||||
|
||||
/**
|
||||
* Creates a new HistoryConnection that wraps the given connection,
|
||||
* automatically creating a history record when the connection is
|
||||
@@ -106,7 +100,7 @@ public class HistoryTrackingConnection extends DelegatingConnection {
|
||||
|
||||
// Insert the connection history record to mark the start of this connection
|
||||
connectionRecordMapper.insert(connectionRecordModel,
|
||||
environment.getCaseSensitiveUsernames());
|
||||
currentUser.isCaseSensitive());
|
||||
|
||||
// Include history record UUID as token
|
||||
ModeledConnectionRecord modeledRecord = new ModeledConnectionRecord(connectionRecordModel);
|
||||
|
||||
Reference in New Issue
Block a user