From 796853cae5eab2920da550a1c52e6b35bcda0c24 Mon Sep 17 00:00:00 2001 From: ntimo Date: Thu, 3 Oct 2019 12:50:58 +0200 Subject: [PATCH] [API] Replace exit with die(); --- data/web/json_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/json_api.php b/data/web/json_api.php index 9e38cbec6..66a839b1f 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -211,7 +211,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u 'type' => 'error', 'msg' => 'Only GET method is allowed!' )); - exit + die(); } switch ($category) { case "rspamd":