From 7bebd4ccf541eb15fdb7e75fc4581f6777eab1db Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Wed, 13 Jun 2018 18:15:28 +0800 Subject: [PATCH] ssl --- auth/linkedin/callback.php | 1 - 1 file changed, 1 deletion(-) diff --git a/auth/linkedin/callback.php b/auth/linkedin/callback.php index e1008cd..d75a140 100644 --- a/auth/linkedin/callback.php +++ b/auth/linkedin/callback.php @@ -63,7 +63,6 @@ function getInfo($access_token) curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - //curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); $result = curl_exec($ch);