diff --git a/app/Controller/AuditLogsController.php b/app/Controller/AuditLogsController.php index 298a46e60..24d4f709d 100644 --- a/app/Controller/AuditLogsController.php +++ b/app/Controller/AuditLogsController.php @@ -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',