From dc92b4e4107885b8a891ce3406e0fca236ccb2d5 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Fri, 19 Feb 2021 06:08:02 +0100 Subject: Fix lints --- src/auth.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auth.rs') diff --git a/src/auth.rs b/src/auth.rs index a2dfe60..9e296ec 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -86,7 +86,7 @@ pub async fn handle_auth(req: ServiceRequest, cred: BasicAuth) -> Result String { let state = req.app_data::().unwrap(); - let error = ContextualError::HTTPAuthenticationError(Box::new(error)); + let error = ContextualError::HttpAuthenticationError(Box::new(error)); if log_error_chain { errors::log_error_chain(error.to_string()); -- cgit v1.2.3