Merge pull request #1868 from gromez/api-dkim-details
[Web] New /get/dkim/{domain} API method to retrieve DKIM keys
This commit is contained in:
commit
7936a6ce13
@ -893,6 +893,14 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case "dkim":
|
||||
switch ($object) {
|
||||
default:
|
||||
$data = dkim('details', $object);
|
||||
process_get_return($data);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
echo '{}';
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user