mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-06 16:04:31 +08:00
[API] Added missing die()
This commit is contained in:
parent
c4c9d2a3b4
commit
877c48db58
@ -135,6 +135,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
|||||||
'type' => 'error',
|
'type' => 'error',
|
||||||
'msg' => 'Only POST method is allowed!'
|
'msg' => 'Only POST method is allowed!'
|
||||||
));
|
));
|
||||||
|
die();
|
||||||
}
|
}
|
||||||
switch ($category) {
|
switch ($category) {
|
||||||
case "time_limited_alias":
|
case "time_limited_alias":
|
||||||
@ -1081,6 +1082,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
|||||||
'type' => 'error',
|
'type' => 'error',
|
||||||
'msg' => 'Only POST method is allowed!'
|
'msg' => 'Only POST method is allowed!'
|
||||||
));
|
));
|
||||||
|
die();
|
||||||
}
|
}
|
||||||
switch ($category) {
|
switch ($category) {
|
||||||
case "alias":
|
case "alias":
|
||||||
|
Loading…
Reference in New Issue
Block a user