Skip to content

Commit

Permalink
refactor(authentication): Change log level from warning to info for d…
Browse files Browse the repository at this point in the history
…eprecated URL token authentication method
  • Loading branch information
SebastienReuiller committed Dec 10, 2024
1 parent 8532546 commit a0538df
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 a0538df

Please sign in to comment.