auth
71:c8b0208c9e5d Browse Files
Remove extraneous TODOs. One TODO shouldn't actually be done. Another is already done. Remove both.
1.1 --- a/http.go Tue Nov 11 21:15:04 2014 -0500 1.2 +++ b/http.go Tue Nov 11 21:17:03 2014 -0500 1.3 @@ -52,7 +52,6 @@ 1.4 } 1.5 decoded, err := base64.StdEncoding.DecodeString(pieces[1]) 1.6 if err != nil { 1.7 - // TODO(paddy): should probably log this... 1.8 return "", "", ErrInvalidAuthFormat 1.9 } 1.10 info := strings.SplitN(string(decoded), ":", 2) 1.11 @@ -98,7 +97,6 @@ 1.12 return Profile{}, ErrIncorrectAuth 1.13 } 1.14 default: 1.15 - // TODO(paddy): return some error 1.16 return Profile{}, ErrInvalidPassphraseScheme 1.17 } 1.18 return profile, nil