show email-only domains in customers list for potential dns entries information (if necessary)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2024-07-19 22:16:41 +02:00
parent 9d47d670a1
commit bda24d7d63
8 changed files with 34 additions and 16 deletions

View File

@@ -50,6 +50,10 @@ if ($action == '' || $action == 'view') {
}
$result_domain = json_decode($json_result, true)['data'];
if ($result_domain['email_only']) {
Response::dynamicError("There are no ssl-certificates for email only domains.");
}
if (Request::post('send') == 'send') {
$do_insert = Request::post('do_insert', 0) == 1;
try {