mirror of https://github.com/MISP/MISP
fix: [API] Destroy the session at the end of the execution
parent
3bcaab013e
commit
d6fc4272ad
|
@ -502,6 +502,9 @@ class AppController extends Controller
|
|||
$this->Log = ClassRegistry::init('Log');
|
||||
echo json_encode($this->Log->getDataSource()->getLog(false, false), JSON_PRETTY_PRINT);
|
||||
}
|
||||
if ($this->_isRest()) {
|
||||
session_destroy();
|
||||
}
|
||||
}
|
||||
|
||||
public function queryACL($debugType='findMissingFunctionNames', $content = false)
|
||||
|
|
Loading…
Reference in New Issue