0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-02-24 23:57:05 -05:00

Compatibility with latest lego commits (dev mode enabled)

This commit is contained in:
Matthew Holt 2015-10-17 21:00:48 -06:00
parent a75663501d
commit 7568b0e215

View file

@ -91,7 +91,7 @@ func newClient(leEmail string) (*acme.Client, error) {
}
// The client facilitates our communication with the CA server.
client := acme.NewClient(caURL, &leUser, rsaKeySize, exposePort)
client := acme.NewClient(caURL, &leUser, rsaKeySize, exposePort, true) // TODO: Dev mode is enabled
// If not registered, the user must register an account with the CA
// and agree to terms