use challenge opts
This commit is contained in:
parent
853ea09a56
commit
b4a17bcaff
|
@ -165,7 +165,9 @@ module.exports.create = function (le) {
|
||||||
// Certificates
|
// Certificates
|
||||||
registerAsync: function (args) {
|
registerAsync: function (args) {
|
||||||
var err;
|
var err;
|
||||||
var copy = utils.merge(args, le);
|
var challengeDefaults = le['_challengeOpts_' + (args.challengeType || le.challengeType)] || {};
|
||||||
|
var copy = utils.merge(args, challengeDefaults || {});
|
||||||
|
copy = utils.merge(copy, le);
|
||||||
args = utils.tplCopy(copy);
|
args = utils.tplCopy(copy);
|
||||||
|
|
||||||
if (!Array.isArray(args.domains)) {
|
if (!Array.isArray(args.domains)) {
|
||||||
|
|
Loading…
Reference in New Issue