Merge pull request #5 from ejhessing/keyAuthFix

bugfix Stringify keyAuthorization prior to saving
This commit is contained in:
AJ ONeal 2016-08-30 18:27:06 -06:00 committed by GitHub
commit e46a61539b
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ Challenge.create = function (options) {
//
Challenge.set = function (args, domain, challengePath, keyAuthorization, done) {
var mkdirp = require('mkdirp');
keyAuthorization = String(keyAuthorization);
mkdirp(args.webrootPath, function (err) {
if (err) {