GUACAMOLE-360: Allow user to kill their own active sessions.
This commit is contained in:
1 parent
3eda313519
commit
85c7b511e1
2 files changed
+14
-12
No files matched your search
@@ -189,12 +189,14 @@ angular.module('settings').directive('guacSettingsSessions', [function guacSetti
|
||||
var connection = allConnections[dataSource][activeConnection.connectionIdentifier];
|
||||
|
||||
// Add wrapper
|
||||
$scope.wrappers.push(new ActiveConnectionWrapper({
|
||||
dataSource : dataSource,
|
||||
name : connection.name,
|
||||
startDate : $filter('date')(activeConnection.startDate, sessionDateFormat),
|
||||
activeConnection : activeConnection
|
||||
}));
|
||||
if (activeConnection.username !== null) {
|
||||
$scope.wrappers.push(new ActiveConnectionWrapper({
|
||||
dataSource : dataSource,
|
||||
name : connection.name,
|
||||
startDate : $filter('date')(activeConnection.startDate, sessionDateFormat),
|
||||
activeConnection : activeConnection
|
||||
}));
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user