[API] Added missing die()

master
ntimo 2019-10-03 14:42:30 +02:00
parent c4c9d2a3b4
commit 877c48db58
No known key found for this signature in database
GPG Key ID: 3AF3627FB0440D55
1 changed files with 2 additions and 0 deletions

View File

@ -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":