mirror of https://github.com/MISP/MISP
fix: [AuditLog] warn admin when audit log is not enabled
parent
9137778ff1
commit
a5bcbdd295
|
@ -100,7 +100,9 @@ class AuditLogsController extends AppController
|
|||
if ($this->_isRest()) {
|
||||
$this->paginate['fields'][] = 'request_id';
|
||||
}
|
||||
|
||||
if (!Configure::read('MISP.log_new_audit')) {
|
||||
$this->Flash->warning(__("Audit log is not enabled. See 'MISP.log_new_audit' in the Server Settings. (Administration -> Server Settings -> MISP tab)"));
|
||||
}
|
||||
$params = $this->IndexFilter->harvestParameters([
|
||||
'ip',
|
||||
'user',
|
||||
|
|
Loading…
Reference in New Issue