1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-10 21:19:09 +00:00

Missed one unused var

This commit is contained in:
Daniel García 2024-06-16 21:56:53 +02:00
commit 16d09be2fa
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -414,7 +414,6 @@ impl<'r> FromRequest<'r> for ClientHeaders {
type Error = &'static str;
async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error> {
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"),