mirror of https://github.com/MISP/MISP
fix: [internal] ECS session start
parent
775d098ff8
commit
3aa078d9bc
|
@ -338,8 +338,8 @@ class EcsLog implements CakeLogInterface
|
|||
];
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
} else if (session_status() === PHP_SESSION_ACTIVE) {
|
||||
// include session data just when session is active to avoid unnecessary session starting
|
||||
App::uses('AuthComponent', 'Controller/Component');
|
||||
$authUser = AuthComponent::user();
|
||||
if (!empty($authUser)) {
|
||||
|
|
Loading…
Reference in New Issue