Skip to content

Commit

Permalink
Leave cURL default for SSL because more secure
Browse files Browse the repository at this point in the history
  • Loading branch information
daN4cat committed Oct 10, 2021
1 parent 986ab7e commit 2e33f32
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion application/controllers/Login.php
Expand Up @@ -82,7 +82,6 @@ private function gcaptcha_check($response)
curl_setopt($ch, CURLOPT_URL, "https://www.google.com/recaptcha/api/siteverify");
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($check));
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);

$result = curl_exec($ch);
Expand Down

0 comments on commit 2e33f32

Please sign in to comment.