From baf62aa2a5e3adb17691b82fee908fb255b471e7 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 16 Jul 2025 11:30:25 +0000 Subject: [PATCH] Fix misleading comment --- moneymgr_backend/src/extractors/auth_extractor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moneymgr_backend/src/extractors/auth_extractor.rs b/moneymgr_backend/src/extractors/auth_extractor.rs index c06acbf..68f163c 100644 --- a/moneymgr_backend/src/extractors/auth_extractor.rs +++ b/moneymgr_backend/src/extractors/auth_extractor.rs @@ -56,7 +56,7 @@ impl FromRequest for AuthExtractor { }; Box::pin(async move { - // Check for authentication using OpenID + // Check for authentication using API token if let Some(token) = req.headers().get(constants::API_TOKEN_HEADER) { let Ok(jwt_token) = token.to_str() else { return Err(actix_web::error::ErrorBadRequest(