mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-19 17:25:24 +00:00
Missed one unused var
This commit is contained in:
parent
9a73230f6c
commit
16d09be2fa
1 changed files with 0 additions and 1 deletions
|
@ -414,7 +414,6 @@ impl<'r> FromRequest<'r> for ClientHeaders {
|
||||||
type Error = &'static str;
|
type Error = &'static str;
|
||||||
|
|
||||||
async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error> {
|
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 {
|
let ip = match ClientIp::from_request(request).await {
|
||||||
Outcome::Success(ip) => ip,
|
Outcome::Success(ip) => ip,
|
||||||
_ => err_handler!("Error getting Client IP"),
|
_ => err_handler!("Error getting Client IP"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue