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:
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

View File

@ -893,6 +893,14 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u
return; return;
} }
break; break;
case "dkim":
switch ($object) {
default:
$data = dkim('details', $object);
process_get_return($data);
break;
}
break;
default: default:
echo '{}'; echo '{}';
break; break;