mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 02:08:20 +02:00 
			
		
		
		
	Fixed cipher import, created missing data structs instead of using generic Value, and fixed some warnings
This commit is contained in:
		| @@ -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