Skip to content

Commit

Permalink
clean comment
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Nov 27, 2024
1 parent 61ddbc5 commit 8ffbde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemarche/api/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. "
Expand Down

0 comments on commit 8ffbde6

Please sign in to comment.