acme_certificate: Fix ACME v1 support when modify_account is set to false (#64648)

* Fix ACME v1 when modify_account is set to false.

* Add changelog.
This commit is contained in:
Felix Fontein 2019-12-02 09:35:49 +01:00 committed by ansibot
parent 5f6057598e
commit 08b53b94a9
2 changed files with 2 additions and 3 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "acme_certificate - fix misbehavior when ACME v1 is used with ``modify_account`` set to ``false``."

View file

@ -646,9 +646,6 @@ class ACMEClient(object):
Return the authorization object of the new authorization
https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.4
'''
if self.account.uri is None:
return
new_authz = {
"resource": "new-authz",
"identifier": {"type": identifier_type, "value": identifier},