From dc6d3565a0c71762ea304be7cb6b769fc51b67a2 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Tue, 28 Dec 2021 12:06:00 +0100 Subject: [PATCH] feat: more informations to automatic domain certificate --- app/controllers/general.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/general.php b/app/controllers/general.php index 98466dba1c..deb36a1b45 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -54,6 +54,10 @@ App::init(function ($utopia, $request, $response, $console, $project, $dbForCons if (!$domainDocument) { $domainDocument = new Document([ 'domain' => $domain->get(), + 'tld' => $domain->getSuffix(), + 'registerable' => $domain->getRegisterable(), + 'verification' => false, + 'certificateId' => null, ]); $domainDocument = $dbForConsole->createDocument('domains', $domainDocument);