mirror of
				https://github.com/therootcompany/greenlock.js.git
				synced 2024-11-16 17:29:00 +00:00 
			
		
		
		
	Merge branch 'master' of ssh://git.coolaj86.com:22042/coolaj86/greenlock.js into v2.2
This commit is contained in:
		
						commit
						13064ee177
					
				| @ -91,6 +91,7 @@ module.exports.create = function (gl) { | |||||||
|               return gl.acme.registerNewAccountAsync({ |               return gl.acme.registerNewAccountAsync({ | ||||||
|                 email: args.email |                 email: args.email | ||||||
|               , newRegUrl: args._acmeUrls.newReg |               , newRegUrl: args._acmeUrls.newReg | ||||||
|  |               , newAuthzUrl: args._acmeUrls.newAuthz | ||||||
|               , agreeToTerms: function (tosUrl, agreeCb) { |               , agreeToTerms: function (tosUrl, agreeCb) { | ||||||
|                   if (true === args.agreeTos || tosUrl === args.agreeTos || tosUrl === gl.agreeToTerms) { |                   if (true === args.agreeTos || tosUrl === args.agreeTos || tosUrl === gl.agreeToTerms) { | ||||||
|                     agreeCb(null, tosUrl); |                     agreeCb(null, tosUrl); | ||||||
| @ -110,6 +111,8 @@ module.exports.create = function (gl) { | |||||||
|                   keypair: keypair |                   keypair: keypair | ||||||
|                 , receipt: receipt |                 , receipt: receipt | ||||||
|                 , email: args.email |                 , email: args.email | ||||||
|  |                 , newRegUrl: args._acmeUrls.newReg | ||||||
|  |                 , newAuthzUrl: args._acmeUrls.newAuthz | ||||||
|                 }; |                 }; | ||||||
| 
 | 
 | ||||||
|                 // TODO move templating of arguments to right here?
 |                 // TODO move templating of arguments to right here?
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user