mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
[Web] Add function to read F2B data via API
This commit is contained in:
parent
1bc802734d
commit
885b79f06f
@ -819,6 +819,14 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "fail2ban":
|
||||
switch ($object) {
|
||||
default:
|
||||
$data = fail2ban('get');
|
||||
process_get_return($data);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "resource":
|
||||
switch ($object) {
|
||||
case "all":
|
||||
|
Loading…
Reference in New Issue
Block a user