mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Merge remote-tracking branch 'upstream/master' into reporter
This commit is contained in:
commit
3f37e3a241
1 changed files with 1 additions and 2 deletions
|
|
@ -125,10 +125,9 @@ def gen_authzr(authz_status, domain, challs, statuses, combos=True):
|
|||
if combos:
|
||||
authz_kwargs.update({"combinations": gen_combos(challbs)})
|
||||
if authz_status == messages2.STATUS_VALID:
|
||||
now = datetime.datetime.now()
|
||||
authz_kwargs.update({
|
||||
"status": authz_status,
|
||||
"expires": datetime.datetime(now.year, now.month + 1, now.day),
|
||||
"expires": datetime.datetime.now() + datetime.timedelta(days=31),
|
||||
})
|
||||
else:
|
||||
authz_kwargs.update({
|
||||
|
|
|
|||
Loading…
Reference in a new issue