From 1c861f923f5e576b0a689408a1f9810ea3f142ea Mon Sep 17 00:00:00 2001 From: Michael Stegeman Date: Mon, 21 May 2018 07:20:31 -0600 Subject: [PATCH] Pass new-reg and authz URLs to storage backend. --- lib/core.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core.js b/lib/core.js index 0d2c3b6..e7e8dd5 100644 --- a/lib/core.js +++ b/lib/core.js @@ -91,6 +91,7 @@ module.exports.create = function (gl) { return gl.acme.registerNewAccountAsync({ email: args.email , newRegUrl: args._acmeUrls.newReg + , newAuthzUrl: args._acmeUrls.newAuthz , agreeToTerms: function (tosUrl, agreeCb) { if (true === args.agreeTos || tosUrl === args.agreeTos || tosUrl === gl.agreeToTerms) { agreeCb(null, tosUrl); @@ -110,6 +111,8 @@ module.exports.create = function (gl) { keypair: keypair , receipt: receipt , email: args.email + , newRegUrl: args._acmeUrls.newReg + , newAuthzUrl: args._acmeUrls.newAuthz }; // TODO move templating of arguments to right here?