mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 02:27:19 -04:00 
			
		
		
		
	Function name changed in lego
This commit is contained in:
		
							parent
							
								
									f24ecee603
								
							
						
					
					
						commit
						2e5eb63850
					
				| @ -164,7 +164,7 @@ func newClient(leEmail string) (*acme.Client, error) { | ||||
| 		leUser.Registration = reg | ||||
| 
 | ||||
| 		// TODO: we can just do the agreement once: when registering, right? | ||||
| 		err = client.AgreeToTos() | ||||
| 		err = client.AgreeToTOS() | ||||
| 		if err != nil { | ||||
| 			saveUser(leUser) // TODO: Might as well try, right? Error check? | ||||
| 			return nil, errors.New("error agreeing to terms: " + err.Error()) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user