diff --git a/registry/auth/htpasswd/access.go b/registry/auth/htpasswd/access.go index 034c503a0..eddf7ac3d 100644 --- a/registry/auth/htpasswd/access.go +++ b/registry/auth/htpasswd/access.go @@ -10,13 +10,14 @@ import ( "crypto/rand" "encoding/base64" "fmt" - "golang.org/x/crypto/bcrypt" "net/http" "os" "path/filepath" "sync" "time" + "golang.org/x/crypto/bcrypt" + dcontext "github.com/docker/distribution/context" "github.com/docker/distribution/registry/auth" )