Commit 2e5eb638 authored by xenolf's avatar xenolf

Function name changed in lego

parent f24ecee6
......@@ -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())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment