forked from mystiq/dex
Merge pull request #275 from ericchiang/decode_err
db: log ignored base64 decode error
This commit is contained in:
commit
bfe53e0b03
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue