mirror of
https://github.com/distribution/distribution
synced 2025-02-23 06:49:36 +01:00
commit
0a3acb2625
@ -94,7 +94,7 @@ func (ch challenge) SetHeaders(w http.ResponseWriter) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (ch challenge) Error() string {
|
func (ch challenge) Error() string {
|
||||||
return fmt.Sprintf("basic authentication challenge: %#v", ch)
|
return fmt.Sprintf("basic authentication challenge for realm %q: %s", ch.realm, ch.err)
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user