ACME申请证书时可以设置回调URL

This commit is contained in:
刘祥超
2021-06-24 09:27:11 +08:00
parent 8e4ee54f03
commit b466ea2fd1
2 changed files with 6 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ func (this *UpdateTaskPopupAction) RunGet(params struct {
"domains": task.Domains,
"autoRenew": task.AutoRenew,
"isOn": task.IsOn,
"authURL": task.AuthURL,
"dnsProvider": dnsProviderMap,
}
@@ -94,6 +95,7 @@ func (this *UpdateTaskPopupAction) RunPost(params struct {
DnsDomain string
Domains []string
AutoRenew bool
AuthURL string
Must *actions.Must
CSRF *actionutils.CSRF
@@ -146,6 +148,7 @@ func (this *UpdateTaskPopupAction) RunPost(params struct {
DnsDomain: dnsDomain,
Domains: realDomains,
AutoRenew: params.AutoRenew,
AuthURL: params.AuthURL,
})
if err != nil {
this.ErrorPage(err)