chore: remove jwt deprecated (#1452)

master
Kevin Wan 3 years ago committed by GitHub
parent 13db7a1931
commit 272a3f347d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,5 @@ func WithResetDuration(duration time.Duration) ParseOption {
}
func newParser() *jwt.Parser {
return &jwt.Parser{
UseJSONNumber: true,
}
return jwt.NewParser(jwt.WithJSONNumber())
}

Loading…
Cancel
Save