Merge pull request #1868 from gromez/api-dkim-details

[Web] New /get/dkim/{domain} API method to retrieve DKIM keys
master
André Peters 2018-10-09 19:24:50 +02:00 committed by GitHub
commit 7936a6ce13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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;