[acme-mailcow] Auto-detect container ids for restart; Restart containers after restore

This commit is contained in:
andryyy
2017-06-29 10:29:56 +02:00
parent 9040d456ed
commit 6c64ffbd49
7 changed files with 100 additions and 92 deletions

View File

@@ -1925,7 +1925,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
// No items
if (isset($_POST['attr'])) {
$attr = (array)json_decode($_POST['attr'], true);
if (edit_f2b_parameters($attr) === false) {
if (fail2ban('edit', $attr) === false) {
if (isset($_SESSION['return'])) {
echo json_encode($_SESSION['return']);
}