Skip to content

Commit

Permalink
Remove duplicated Verify call in ParseClaims (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
benzolium authored Jun 9, 2022
1 parent 6bbb80e commit 7fa27fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ func ParseClaims(raw []byte, verifier Verifier, claims interface{}) error {
if err != nil {
return err
}
if err := verifier.Verify(token); err != nil {
return err
}
return token.DecodeClaims(claims)
}

Expand Down

0 comments on commit 7fa27fd

Please sign in to comment.