Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove authentication hashes from API
  • Loading branch information
ldez authored and traefiker committed May 29, 2019
1 parent 29307fe commit 51287d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/types.go
Expand Up @@ -408,14 +408,14 @@ type Users []string

// Basic HTTP basic authentication
type Basic struct {
Users `json:"users,omitempty" mapstructure:","`
Users `json:"-" mapstructure:","`
UsersFile string `json:"usersFile,omitempty"`
RemoveHeader bool `json:"removeHeader,omitempty"`
}

// Digest HTTP authentication
type Digest struct {
Users `json:"users,omitempty" mapstructure:","`
Users `json:"-" mapstructure:","`
UsersFile string `json:"usersFile,omitempty"`
RemoveHeader bool `json:"removeHeader,omitempty"`
}
Expand Down Expand Up @@ -511,7 +511,7 @@ type ClientTLS struct {
CA string `description:"TLS CA" json:"ca,omitempty"`
CAOptional bool `description:"TLS CA.Optional" json:"caOptional,omitempty"`
Cert string `description:"TLS cert" json:"cert,omitempty"`
Key string `description:"TLS key" json:"key,omitempty"`
Key string `description:"TLS key" json:"-"`
InsecureSkipVerify bool `description:"TLS insecure skip verify" json:"insecureSkipVerify,omitempty"`
}

Expand Down

0 comments on commit 51287d9

Please sign in to comment.