misc: always check idp certificate (#68471)
This commit is contained in:
parent
9e7d2f1640
commit
d028208383
|
@ -68,7 +68,7 @@ def cut_exists(request, cut_uuid):
|
|||
url = urlparse.urljoin(authentic_url, 'api/users/synchronization/')
|
||||
try:
|
||||
response = requests.post(
|
||||
url, json={"known_uuids": [cut_uuid]}, auth=request.user.credentials, verify=False, timeout=28
|
||||
url, json={"known_uuids": [cut_uuid]}, auth=request.user.credentials, timeout=28
|
||||
)
|
||||
response.raise_for_status()
|
||||
except requests.RequestException as e:
|
||||
|
|
|
@ -48,7 +48,6 @@ class PetalAuthentication(BasicAuthentication):
|
|||
url,
|
||||
json={'username': userid, 'password': password},
|
||||
auth=authentic_auth,
|
||||
verify=False,
|
||||
timeout=28,
|
||||
)
|
||||
response.raise_for_status()
|
||||
|
|
Loading…
Reference in New Issue