Skip to content

Commit 855d467

Browse files
committed
Fix derp
1 parent 27ab129 commit 855d467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acmeissuer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,10 @@ func NewACMEIssuer(cfg *Config, template ACMEIssuer) *ACMEIssuer {
190190
if template.ExternalAccount == nil {
191191
template.ExternalAccount = DefaultACME.ExternalAccount
192192
}
193-
if template.NotBefore != 0 {
193+
if template.NotBefore == 0 {
194194
template.NotBefore = DefaultACME.NotBefore
195195
}
196-
if template.NotAfter != 0 {
196+
if template.NotAfter == 0 {
197197
template.NotAfter = DefaultACME.NotAfter
198198
}
199199
if !template.DisableHTTPChallenge {

0 commit comments

Comments
 (0)