mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Merge remote-tracking branch 'upstream/master' into reporter
This commit is contained in:
@@ -125,10 +125,9 @@ def gen_authzr(authz_status, domain, challs, statuses, combos=True):
|
|||||||
if combos:
|
if combos:
|
||||||
authz_kwargs.update({"combinations": gen_combos(challbs)})
|
authz_kwargs.update({"combinations": gen_combos(challbs)})
|
||||||
if authz_status == messages2.STATUS_VALID:
|
if authz_status == messages2.STATUS_VALID:
|
||||||
now = datetime.datetime.now()
|
|
||||||
authz_kwargs.update({
|
authz_kwargs.update({
|
||||||
"status": authz_status,
|
"status": authz_status,
|
||||||
"expires": datetime.datetime(now.year, now.month + 1, now.day),
|
"expires": datetime.datetime.now() + datetime.timedelta(days=31),
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
authz_kwargs.update({
|
authz_kwargs.update({
|
||||||
|
|||||||
Reference in New Issue
Block a user