Skip to content

Commit

Permalink
Fix "None" (anonymous) auth for public registries
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanilves committed Oct 20, 2017
1 parent d613f2c commit 98dd0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/none/none.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (tr TokenResponse) ExpiresIn() int {

// AuthHeader returns contents of the Authorization HTTP header
func (tr TokenResponse) AuthHeader() string {
return tr.Method() + " " + tr.Token()
return ""
}

// RequestToken does pretty little here...
Expand Down

0 comments on commit 98dd0bd

Please sign in to comment.