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(