mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-04 18:13:58 +00:00
Update ring to 0.14, jwt to 6.0, and u2f
This commit is contained in:
parent
2a4cd24c60
commit
4f45cc081f
4 changed files with 117 additions and 70 deletions
|
@ -40,7 +40,6 @@ fn decode_jwt<T: DeserializeOwned>(token: &str, issuer: String) -> Result<T, Err
|
|||
let validation = jsonwebtoken::Validation {
|
||||
leeway: 30, // 30 seconds
|
||||
validate_exp: true,
|
||||
validate_iat: false, // IssuedAt is the same as NotBefore
|
||||
validate_nbf: true,
|
||||
aud: None,
|
||||
iss: Some(issuer),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue