Pass new-reg and authz URLs to storage backend.

このコミットが含まれているのは:
Michael Stegeman 2018-05-21 07:20:31 -06:00
コミット 1c861f923f
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: FEDD596D296F7400
1個のファイルの変更3行の追加0行の削除

ファイルの表示

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