1
0
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:
andryyy 2019-05-17 11:21:25 +02:00
parent 1bc802734d
commit 885b79f06f
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -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":