Skip to content

Commit ef555bf

Browse files
committed
Skip appending the origin field to the name
1 parent 3553b92 commit ef555bf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

interface/web/dns/dns_dkim_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function onSubmit() {
100100
// add dkim-settings to the public-key in the txt-record
101101
if (!empty($this->dataRecord['data'])) {
102102
$this->dataRecord['data']='v=DKIM1; t=s; p='.$this->dataRecord['data'];
103-
$this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey.'.$this->dataRecord['name'];
103+
$this->dataRecord['name']=$this->dataRecord['selector'].'._domainkey';
104104
// $this->dataRecord['ttl']=60;
105105
}
106106
// Update the serial number and timestamp of the RR record

interface/web/dns/templates/dns_dkim_edit.htm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<input type="hidden" name="id" value="{tmpl_var name='id'}">
2727
<input type="hidden" name="zone" value="{tmpl_var name='zone'}" id="zone">
2828
<input type="hidden" name="type" value="{tmpl_var name='type'}">
29-
<input type="hidden" name="name" value="{tmpl_var name='name'}">
3029

3130
<div class="clear"><div class="right">
3231
<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="dns/dns_dkim_edit.php">{tmpl_var name='btn_save_txt'}</button>

0 commit comments

Comments
 (0)