db: log ignored base64 decode error

Closes #270
This commit is contained in:
Eric Chiang 2016-01-15 15:31:29 -08:00
parent b5c7f1978e
commit d255007ed9

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
} }