mirror of
https://github.com/SubleXBle/Fail2Ban-Report.git
synced 2026-01-30 13:28:28 -06:00
Update unblock-ip.php
This commit is contained in:
@@ -80,6 +80,7 @@ function unblockIp($ips, $jail = 'unknown') {
|
||||
foreach ($data as &$item) {
|
||||
if ($item['ip'] === $ip && (!isset($item['active']) || $item['active'] === true)) {
|
||||
$item['active'] = false;
|
||||
$item['pending'] = true;
|
||||
$item['lastModified'] = date('c');
|
||||
$found = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user