Commit 1be9515f authored by guillecxb's avatar guillecxb
Browse files

return previous verify

parent f987d534
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ def __log_to_capif(variables):
            url,
            headers={"Content-Type": "application/json"},
            auth=HTTPBasicAuth(variables["capif_register_username"], variables["capif_register_password"]),
            verify=True,
            verify=False,
            timeout=10,
        )
        response.raise_for_status()
@@ -65,7 +65,7 @@ def __create_user(admin_token, variables):
        }

        response = requests.request(
            "POST", url, headers=headers, data=json.dumps(payload), verify=True, timeout=10
            "POST", url, headers=headers, data=json.dumps(payload), verify=False, timeout=10
        )
        response.raise_for_status()
        response_payload = json.loads(response.text)