Use canonical imports (#822)
* fix: challenge are not required for revoke.
This commit is contained in:
parent
62fea05e21
commit
219222fdda
197 changed files with 229 additions and 231 deletions
|
@ -1,4 +1,4 @@
|
|||
package cmd
|
||||
package cmd // import "github.com/xenolf/lego/cmd"
|
||||
|
||||
import (
|
||||
"crypto/x509"
|
||||
|
@ -53,8 +53,6 @@ func newClient(ctx *cli.Context, acc registration.User, keyType certcrypto.KeyTy
|
|||
log.Fatalf("Could not create client: %v", err)
|
||||
}
|
||||
|
||||
setupChallenges(ctx, client)
|
||||
|
||||
if client.GetExternalAccountRequired() && !ctx.GlobalIsSet("eab") {
|
||||
log.Fatal("Server requires External Account Binding. Use --eab with --kid and --hmac.")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue