Keats / jsonwebtoken

JWT lib in rust
MIT License
1.65k stars 262 forks source link

Docs: `leeway` field on `Validation` documents an older default #235

Closed Follpvosten closed 2 years ago

Follpvosten commented 2 years ago

This caught me off-guard while updating to 8.0. The docs still say "Defaults to 0." for leeway, but it actually defaults to 60 when you use Validation::new(), which is now the only way to construct a Validation.

Follpvosten commented 2 years ago

Oops nevermind, closed via 1a9ca38b76d05d0eb0823af808c344cd97bc5bea