mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Merge pull request #2374 from letsencrypt/use-namespace-4-now-plz
Fixes missing account/email problems
This commit is contained in:
commit
70ab18203d
1 changed files with 2 additions and 2 deletions
|
|
@ -159,7 +159,7 @@ def _determine_account(config):
|
|||
acc = accounts[0]
|
||||
else: # no account registered yet
|
||||
if config.email is None and not config.register_unsafely_without_email:
|
||||
config.email = display_ops.get_email()
|
||||
config.namespace.email = display_ops.get_email()
|
||||
|
||||
def _tos_cb(regr):
|
||||
if config.tos:
|
||||
|
|
@ -181,7 +181,7 @@ def _determine_account(config):
|
|||
raise errors.Error(
|
||||
"Unable to register an account with ACME server")
|
||||
|
||||
config.account = acc.id
|
||||
config.namespace.account = acc.id
|
||||
return acc, acme
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue