Daniel García
11 months ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
0 additions and
1 deletions
-
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"), |
|
|
|