Merge pull request #275 from ericchiang/decode_err

db: log ignored base64 decode error
This commit is contained in:
bobbyrullo 2016-01-19 09:35:55 -08:00
commit bfe53e0b03

View file

@ -240,7 +240,7 @@ func (r *clientIdentityRepo) Authenticate(creds oidc.ClientCredentials) (bool, e
dec, err := base64.URLEncoding.DecodeString(creds.Secret) dec, err := base64.URLEncoding.DecodeString(creds.Secret)
if err != nil { if err != nil {
log.Errorf("error Decoding client creds ") log.Errorf("error Decoding client creds: %v", err)
return false, nil return false, nil
} }