mirror of https://github.com/1Panel-dev/1Panel
fix: 解决证书 HTTP 模式下保存了错误数据的问题 (#2476)
Refs https://github.com/1Panel-dev/1Panel/issues/2473pull/2479/head
parent
b8d2d4e7af
commit
2fdf2b9378
|
@ -135,7 +135,9 @@ func (w WebsiteSSLService) Create(create request.WebsiteSSLCreate) (request.Webs
|
|||
return res, err
|
||||
}
|
||||
|
||||
websiteSSL.DnsAccountID = create.DnsAccountID
|
||||
if create.Provider == constant.DNSAccount {
|
||||
websiteSSL.DnsAccountID = create.DnsAccountID
|
||||
}
|
||||
websiteSSL.AcmeAccountID = acmeAccount.ID
|
||||
websiteSSL.Provider = create.Provider
|
||||
websiteSSL.Domains = strings.Join(otherDomainArray, ",")
|
||||
|
|
Loading…
Reference in New Issue