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: