1
0
镜像自地址 https://github.com/therootcompany/greenlock.js.git 已同步 2024-11-16 17:29:00 +00:00

Amended evaluation logic for handling le.challenge values.

这个提交包含在:
richard.thake 2016-08-30 22:53:01 +01:00
父节点 1c95d7b4ff
当前提交 bef3b8162c

查看文件

@ -254,7 +254,7 @@ LE.create = function (le) {
throw new Error("le.challenge.set receives the wrong number of arguments."
+ " You must define setChallenge as function (opts, domain, key, val, cb) { }");
}
if (4 !== le.challenge.get.length || le.challenge.get === undefined) {
if (le.challenge.get && 4 !== le.challenge.get.length) {
throw new Error("le.challenge.get receives the wrong number of arguments."
+ " You must define getChallenge as function (opts, domain, key, cb) { }");
}