Skip to content

Commit

Permalink
refactor(authentication): Modifier le niveau de log en info pour la m…
Browse files Browse the repository at this point in the history
…éthode d'authentification du jeton d'URL obsolète (#1576)
  • Loading branch information
SebastienReuiller authored Dec 10, 2024
1 parent 8532546 commit b1275ca
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 @@ -27,7 +27,7 @@ def authenticate(self, request):
elif request.GET.get("token"): # Otherwise, try the URL parameter
token = request.GET.get("token")
warning_issued = True
logger.warning("Authentication via URL token detected. This method is deprecated and less secure.")
logger.info("Authentication via URL token detected. This method is deprecated and less secure.")

# If no token is provided
if not token:
Expand Down

0 comments on commit b1275ca

Please sign in to comment.