Fix misleading comment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-07-16 11:30:25 +00:00
parent c19d46a50f
commit baf62aa2a5

View File

@ -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(