Commit 20dd7d3f authored by Ασπασία Κατσή's avatar Ασπασία Κατσή

bug fixed

parents f438235f ea380f5b
......@@ -155,7 +155,9 @@ class CBController extends ControllerBase
$taxis_userid = null;
$trx = $this->connection->startTransaction();
$oauth = new OAuth($this->consumer_key, $this->consumer_secret, OAUTH_SIG_METHOD_PLAINTEXT, OAUTH_AUTH_TYPE_URI);
// $oauth->disableSSLChecks();
//$oauth->disableSSLChecks();
// $oauth->enableDebug();
$oauth->setToken($authToken, $this->requestTokenSecret);
$accessToken = $oauth->getAccessToken($this->access_token_url, '', $authVerifier);
......
......@@ -106,7 +106,8 @@ class OAuthLogin extends ControllerBase
try {
$oauth = new OAuth($this->consumer_key, $this->consumer_secret, OAUTH_SIG_METHOD_PLAINTEXT, OAUTH_AUTH_TYPE_URI);
// $oauth->disableSSLChecks();
//$oauth->disableSSLChecks();
$oauth->enableDebug();
$uniqid = uniqid('sid');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment