diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/acme/main.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/acme/main.go b/cmd/acme/main.go index ea9ddd0..67cfe10 100644 --- a/cmd/acme/main.go +++ b/cmd/acme/main.go @@ -53,8 +53,13 @@ func loadAccount(prov *acme.Provider, a account) error { return err } + agree := func(tos string) bool { + log.Println("agree to", tos) + return true + } + log.Println("Register", con) - if err := prov.Register(acc, con); err != nil { + if err := prov.Register(acc, con, agree); err != nil { return err } } |