mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 12:33:38 +03:00
Update ring to 0.14, jwt to 6.0, and u2f
This commit is contained in:
4 files changed
+117
-70
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user