mirror of
https://github.com/go-acme/lego.git
synced 2025-01-26 06:55:18 +02:00
Fix DNS-01 challenge resource property
This commit is contained in:
parent
08cd016ed3
commit
50031525c9
@ -65,7 +65,7 @@ func (s *dnsChallenge) Solve(chlng challenge, domain string) error {
|
||||
|
||||
preCheckDNS(domain, fqdn)
|
||||
|
||||
return s.validate(s.jws, domain, chlng.URI, chlng)
|
||||
return s.validate(s.jws, domain, chlng.URI, challenge{Resource: "challenge", Type: chlng.Type, Token: chlng.Token, KeyAuthorization: keyAuth})
|
||||
}
|
||||
|
||||
func checkDNS(domain, fqdn string) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user