Skip to content

Commit

Permalink
FIXED bug on debug mode oauth will report ssl verification error
Browse files Browse the repository at this point in the history
  • Loading branch information
reekoheek committed Aug 7, 2015
1 parent ea40997 commit 57011f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ROH/BonoAuth/Driver/OAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function getClient()
{
if (is_null($this->client)) {
$this->client = new GuzzleClient();
if (empty($this->options['debug'])) {
if (isset($this->options['debug']) && $this->options['debug'] == true) {
$this->client->setSslVerification(false, false);
}
}
Expand Down

0 comments on commit 57011f8

Please sign in to comment.