commit
795e52a978
6
index.js
6
index.js
|
@ -31,7 +31,6 @@ Challenge.set = function (args, domain, challenge, keyAuthorization, cb) {
|
||||||
if (this.leDnsResponse) {
|
if (this.leDnsResponse) {
|
||||||
this.leDnsResponse(challenge, keyAuthorization, keyAuthDigest, challengeDomain, domain)
|
this.leDnsResponse(challenge, keyAuthorization, keyAuthDigest, challengeDomain, domain)
|
||||||
.then((successMessage) => {
|
.then((successMessage) => {
|
||||||
console.log("Yay! " + successMessage);
|
|
||||||
cb(null);
|
cb(null);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -70,11 +69,6 @@ Challenge.get = function (defaults, domain, challenge, cb) {
|
||||||
// might as well tell the user that whatever they were setting up has been checked
|
// might as well tell the user that whatever they were setting up has been checked
|
||||||
Challenge.remove = function (args, domain, challenge, cb) {
|
Challenge.remove = function (args, domain, challenge, cb) {
|
||||||
console.info("Challenge for '" + domain + "' complete. You may remove it.");
|
console.info("Challenge for '" + domain + "' complete. You may remove it.");
|
||||||
console.info("");
|
|
||||||
//console.info("hit enter to continue...");
|
|
||||||
//process.stdin.resume();
|
|
||||||
//process.stdin.on('data', function () {
|
|
||||||
// process.stdin.pause();
|
|
||||||
cb(null);
|
cb(null);
|
||||||
//});
|
//});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue