v2.6.0: allow approvedDomains to be edited without resetting cert

This commit is contained in:
AJ ONeal 2018-12-22 02:20:46 -07:00
parent 64107756a1
commit 8375f6ef5c
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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": [