@@ -73,7 +73,7 @@ |
||
73 | 73 | CURLOPT_HTTPHEADER => [], |
74 | 74 | CURLOPT_FOLLOWLOCATION => false, |
75 | 75 | CURLOPT_PROTOCOLS => $this->httpsOnly ? CURLPROTO_HTTPS : CURLPROTO_HTTPS | CURLPROTO_HTTP, |
76 | - CURLOPT_HEADERFUNCTION => function ($curlChannel, $headerData) use (&$headerList) { |
|
76 | + CURLOPT_HEADERFUNCTION => function($curlChannel, $headerData) use (&$headerList) { |
|
77 | 77 | if (false !== strpos($headerData, ':')) { |
78 | 78 | list($key, $value) = explode(':', $headerData, 2); |
79 | 79 | $headerList[trim($key)] = trim($value); |
@@ -64,7 +64,7 @@ |
||
64 | 64 | // handle the callback from the OAuth server |
65 | 65 | $client->handleCallback( |
66 | 66 | $_SESSION['_oauth2_session'], // URI from session |
67 | - $_GET['code'], // the authorization_code |
|
67 | + $_GET['code'], // the authorization_code |
|
68 | 68 | $_GET['state'] // the state |
69 | 69 | ); |
70 | 70 |