From 8375f6ef5c2e31bba6baf3aded22649cded9aaee Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 22 Dec 2018 02:20:46 -0700 Subject: [PATCH] v2.6.0: allow approvedDomains to be edited without resetting cert --- index.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index bfb95bd..ce481e9 100644 --- a/index.js +++ b/index.js @@ -395,7 +395,8 @@ Greenlock.create = function (gl) { if (lexOpts.domains.every(function (domain) { return -1 !== gl.approvedDomains.indexOf(domain); })) { - lexOpts.domains = gl.approvedDomains.slice(0); + // commented this out because people expect to be able to edit the list of domains + // lexOpts.domains = gl.approvedDomains.slice(0); lexOpts.email = gl.email; lexOpts.agreeTos = gl.agreeTos; lexOpts.communityMember = gl.communityMember; diff --git a/package.json b/package.json index fda2075..185a2d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "greenlock", - "version": "2.5.0", + "version": "2.6.0", "description": "Let's Encrypt for node.js on npm", "main": "index.js", "files": [