From 877c48db58696cc2ba3a9890a7d18dd0ed58f606 Mon Sep 17 00:00:00 2001 From: ntimo Date: Thu, 3 Oct 2019 14:42:30 +0200 Subject: [PATCH] [API] Added missing die() --- data/web/json_api.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/web/json_api.php b/data/web/json_api.php index e5643dc5..d358a619 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -135,6 +135,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u 'type' => 'error', 'msg' => 'Only POST method is allowed!' )); + die(); } switch ($category) { case "time_limited_alias": @@ -1081,6 +1082,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u 'type' => 'error', 'msg' => 'Only POST method is allowed!' )); + die(); } switch ($category) { case "alias":