From b1275cae5e26493b3a02db0de1807a8c185b3fa7 Mon Sep 17 00:00:00 2001 From: SebastienReuiller Date: Tue, 10 Dec 2024 14:17:46 +0100 Subject: [PATCH] =?UTF-8?q?refactor(authentication):=20Modifier=20le=20niv?= =?UTF-8?q?eau=20de=20log=20en=20info=20pour=20la=20m=C3=A9thode=20d'authe?= =?UTF-8?q?ntification=20du=20jeton=20d'URL=20obsol=C3=A8te=20(#1576)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lemarche/api/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemarche/api/authentication.py b/lemarche/api/authentication.py index 465df6bec..ea195db3d 100644 --- a/lemarche/api/authentication.py +++ b/lemarche/api/authentication.py @@ -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: