Michael Stegeman
há 6 anos
ascendente
cometimento
1c861f923f
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: FEDD596D296F7400
1 ficheiros modificados com
3 adições e
0 eliminações
-
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?
|
|
|
|