mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-09-27 13:17:12 +00:00
[API] Replace exit with die();
This commit is contained in:
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user