[API] Replace exit with die();
parent
72f8c0a5bd
commit
796853cae5
|
@ -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":
|
||||||
|
|
Loading…
Reference in New Issue