Skip to content

Commit

Permalink
Fix derp
Browse files Browse the repository at this point in the history
  • Loading branch information
mholt committed Apr 19, 2024
1 parent 27ab129 commit 855d467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acmeissuer.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ func NewACMEIssuer(cfg *Config, template ACMEIssuer) *ACMEIssuer {
if template.ExternalAccount == nil {
template.ExternalAccount = DefaultACME.ExternalAccount
}
if template.NotBefore != 0 {
if template.NotBefore == 0 {
template.NotBefore = DefaultACME.NotBefore
}
if template.NotAfter != 0 {
if template.NotAfter == 0 {
template.NotAfter = DefaultACME.NotAfter
}
if !template.DisableHTTPChallenge {
Expand Down

0 comments on commit 855d467

Please sign in to comment.