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) { | ||||
|             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; | ||||
|  | ||||
| @ -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": [ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user