From 16d09be2fac290224d3b9ff19685db422f4e6014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Sun, 16 Jun 2024 21:56:53 +0200 Subject: [PATCH] Missed one unused var --- src/auth.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/auth.rs b/src/auth.rs index eee620e3f3..c8060a28ab 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -414,7 +414,6 @@ impl<'r> FromRequest<'r> for ClientHeaders { type Error = &'static str; async fn from_request(request: &'r Request<'_>) -> Outcome { - let host = try_outcome!(Host::from_request(request).await).host; let ip = match ClientIp::from_request(request).await { Outcome::Success(ip) => ip, _ => err_handler!("Error getting Client IP"),