Browse Source

Missed one unused var

pull/4645/head
Daniel García 11 months ago
parent
commit
16d09be2fa
No known key found for this signature in database GPG Key ID: FC8A7D14C3CD543A
  1. 1
      src/auth.rs

1
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<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"),

Loading…
Cancel
Save