From 34ddde82c486f589b7a8c52642171e49cad73558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Groven?= Date: Tue, 9 Oct 2018 17:40:06 +0200 Subject: [PATCH] [Web] New /get/dkim/{domain} method to retrieve DKIM keys --- data/web/json_api.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/web/json_api.php b/data/web/json_api.php index d1f6a979..d1a773f1 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -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;