mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
upgraded vendored jwt-go lib
This commit is contained in:
parent
b5f85637a7
commit
8aeb3eaec4
34 changed files with 1752 additions and 341 deletions
2
vendor/github.com/dgrijalva/jwt-go/hmac.go
generated
vendored
2
vendor/github.com/dgrijalva/jwt-go/hmac.go
generated
vendored
|
@ -49,7 +49,7 @@ func (m *SigningMethodHMAC) Verify(signingString, signature string, key interfac
|
|||
// Verify the key is the right type
|
||||
keyBytes, ok := key.([]byte)
|
||||
if !ok {
|
||||
return ErrInvalidKey
|
||||
return ErrInvalidKeyType
|
||||
}
|
||||
|
||||
// Decode signature, for comparison
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue