v2.6.0: allow approvedDomains to be edited without resetting cert
This commit is contained in:
parent
64107756a1
commit
8375f6ef5c
3
index.js
3
index.js
|
@ -395,7 +395,8 @@ Greenlock.create = function (gl) {
|
||||||
if (lexOpts.domains.every(function (domain) {
|
if (lexOpts.domains.every(function (domain) {
|
||||||
return -1 !== gl.approvedDomains.indexOf(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.email = gl.email;
|
||||||
lexOpts.agreeTos = gl.agreeTos;
|
lexOpts.agreeTos = gl.agreeTos;
|
||||||
lexOpts.communityMember = gl.communityMember;
|
lexOpts.communityMember = gl.communityMember;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "greenlock",
|
"name": "greenlock",
|
||||||
"version": "2.5.0",
|
"version": "2.6.0",
|
||||||
"description": "Let's Encrypt for node.js on npm",
|
"description": "Let's Encrypt for node.js on npm",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in New Issue