From 487772204c7b016665faf7f4e2241186cbc55b9c Mon Sep 17 00:00:00 2001 From: loimax Date: Thu, 1 Feb 2024 11:05:56 +0100 Subject: [PATCH] remis --- Docker/API/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/API/main.py b/Docker/API/main.py index 2b58a0c..c5eaa3e 100644 --- a/Docker/API/main.py +++ b/Docker/API/main.py @@ -318,7 +318,7 @@ def deluser_admin_prof(): def logincas(): ticket_id = request.args.get('ticket') if ticket_id: - validation_url = f"https://cas.insa-cvl.fr/cas/p3/serviceValidate?service=https%3A%2F%2Fapi.insa-cvl.com%2Flogincas&ticket={ticket_id}" + validation_url = "https://cas.insa-cvl.fr/cas/p3/serviceValidate?service=https%3A%2F%2Fapi.insa-cvl.com%2Flogincas&ticket="+ticket_id try: response = requests.get(validation_url) except: