Browse Source

new info form

andre 5 months ago
parent
commit
917849ea7e

+ 1 - 0
app/UI/Client/Setting/Forms/InfoForm.php

@@ -78,6 +78,7 @@ class InfoForm extends BaseForm implements ClientArea
         $row->addInputComponent((new InputGroupElements\Text('dkim'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);
         $this->generateDoubleSection([new Hidden('maildomain'), new Hidden('id')]);
+        $this->generateDoubleSection([new Hidden('selfdns'), new Hidden('dnsok')]);
 
     }
 }

+ 3 - 1
app/UI/Client/Setting/Providers/InfoSettingDataProvider.php

@@ -109,7 +109,9 @@ class InfoSettingDataProvider extends BaseDataProvider
             'mxthurdata' => $this->mxthurdata,
             'spfthurdata' => $this->spfConfig,
             'dmarcthurdata' => $this->dmarcConfig,
-            'dkimthurdata' => $this->domainKey
+            'dkimthurdata' => $this->domainKey,
+            'selfdns' => $selfDns,
+            'dnsok' => $dnsok
         ];
     }