Skip to content

Commit

Permalink
Fix (#702)
Browse files Browse the repository at this point in the history
* update socialite version.

* Fix #701
  • Loading branch information
mingyoung authored and overtrue committed May 16, 2017
1 parent 62f2a91 commit 11bbd56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"ext-openssl": "*",
"pimple/pimple": "~3.0",
"monolog/monolog": "^1.17",
"overtrue/socialite": ">=1.0.24",
"overtrue/socialite": ">=1.0.25",
"doctrine/cache": "~1.4",
"guzzlehttp/guzzle": "~6.2.1",
"symfony/http-foundation": "~2.6|~2.7|~2.8|~3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,7 @@ public function register(Container $pimple)
$socialite = (new Socialite([
'wechat_open' => [
'client_id' => $pimple['open_platform.authorizer']->getAppId(),
'client_secret' => [
$pimple['open_platform.access_token']->getAppId(),
$pimple['open_platform.access_token']->getToken(),
],
'client_secret' => $pimple['open_platform.access_token'],
'redirect' => $callback,
],
]))->driver('wechat_open');
Expand Down

0 comments on commit 11bbd56

Please sign in to comment.