3
3

Pass new-reg and authz URLs to storage backend. #13

Integrado
coolaj86 integrou 1 cometimento(s) do ramo :new-reg-url no ramo master 2018-05-21 17:17:00 +00:00
Mostrando apenas as modificações do comentimento 1c861f923f - Mostrar todos os cometimentos

Ver ficheiro

@ -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?