chore: change default branch name in .releaserc.js

This commit is contained in:
Livio Amstutz 2021-09-14 12:19:39 +02:00
parent 42eb67d7b0
commit be4716c30e
2 changed files with 20 additions and 3 deletions

View file

@ -8,7 +8,6 @@ import (
"sync"
"github.com/caos/oidc/pkg/utils"
"gopkg.in/square/go-jose.v2"
"github.com/caos/oidc/pkg/oidc"
@ -129,8 +128,8 @@ func (r *remoteKeySet) verifySignatureCached(jws *jose.JSONWebSignature, keyID,
}
func (r *remoteKeySet) exactMatch(jwkID, jwsID string) bool {
if jwkID == "" && jwsID == "" && r.skipRemoteCheck {
return true
if jwkID == "" && jwsID == "" {
return r.skipRemoteCheck
}
return jwkID == jwsID
}