diff --git a/lemarche/api/authentication.py b/lemarche/api/authentication.py index aab829b01..465df6bec 100644 --- a/lemarche/api/authentication.py +++ b/lemarche/api/authentication.py @@ -82,7 +82,7 @@ def __init__(self, get_response): def __call__(self, request): response = self.get_response(request) - # Ajoute un warning si le marqueur est défini dans la requête + # Add a warning if the marker is set in the request if hasattr(request, "_deprecated_auth_warning") and request._deprecated_auth_warning: response.headers["Deprecation-Warning"] = ( "URL token authentication is deprecated and will be removed on 2025/01. "