[API] Replace exit with die();

master
ntimo 2019-10-03 12:50:58 +02:00
parent 72f8c0a5bd
commit 796853cae5
No known key found for this signature in database
GPG Key ID: 3AF3627FB0440D55
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
'type' => 'error', 'type' => 'error',
'msg' => 'Only GET method is allowed!' 'msg' => 'Only GET method is allowed!'
)); ));
exit die();
} }
switch ($category) { switch ($category) {
case "rspamd": case "rspamd":