Skip to content

Commit

Permalink
Fix acceptance of ACME TOS on registration
Browse files Browse the repository at this point in the history
  • Loading branch information
intermernet committed Jul 4, 2022
1 parent f2a7851 commit b99e8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acmehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (runtime *Runtime) fetchAcmeCertAndKey(url string) error {
}

//we always register because it's safer than to cache credentials
myUser.Registration, e = client.Registration.Register(registration.RegisterOptions{TermsOfServiceAgreed: runtime.Connection.Downstream.Tls.Acme.AcceptTOS})
myUser.Registration, e = client.Registration.Register(registration.RegisterOptions{TermsOfServiceAgreed: true})
if e != nil {
return e
}
Expand Down

0 comments on commit b99e8e3

Please sign in to comment.