mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 12:33:38 +03:00
Fixed cipher import, created missing data structs instead of using generic Value, and fixed some warnings
This commit is contained in:
1 parent
c8b45f5fe5
commit
dfefbf1f31
13 files changed
+190
-131
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ impl<'a, 'r> FromRequest<'a, 'r> for Headers {
|
||||
// Check JWT token is valid and get device and user from it
|
||||
let claims: JWTClaims = match decode_jwt(access_token) {
|
||||
Ok(claims) => claims,
|
||||
Err(msg) => err_handler!("Invalid claim")
|
||||
Err(_) => err_handler!("Invalid claim")
|
||||
};
|
||||
|
||||
let device_uuid = claims.device;
|
||||
|
||||
Reference in new issue
Block a user