diff --git a/app/Commands/Fail2banManageCommand.php b/app/Commands/Fail2banManageCommand.php index d190a9c..7b47969 100644 --- a/app/Commands/Fail2banManageCommand.php +++ b/app/Commands/Fail2banManageCommand.php @@ -92,8 +92,12 @@ class Fail2banManageCommand extends Command $checkbox = new CheckboxItem($name, function(CliMenu $menu) use ($name) { if ($this->configuration[$name] === true) { $this->call('fail2ban:disable', [ 'configuration' => $name ]); + $menu->redraw(); + $menu->confirm($name.' is disabled!')->display('OK!'); } else { $this->call('fail2ban:enable', [ 'configuration' => $name ]); + $menu->redraw(); + $menu->confirm($name.' is enabled!')->display('OK!'); } // getting new value