Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dgnorton committed May 12, 2016
1 parent d42f5f8 commit 2080cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/httpd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ func parseCredentials(r *http.Request) (*credentials, error) {
}, nil
}

return nil, fmt.Errorf("unable to parse Basic Auth credentials")
return nil, fmt.Errorf("unable to parse authentication credentials")
}

// authenticate wraps a handler and ensures that if user credentials are passed in
Expand Down

0 comments on commit 2080cfb

Please sign in to comment.