Skip to content

Commit

Permalink
Merge pull request xjflyttp#5 from fnsoxt/master
Browse files Browse the repository at this point in the history
Update WeixinAuth.php
  • Loading branch information
xjflyttp committed Apr 21, 2015
2 parents 1c7b31c + 5e12f7e commit 5fb6e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeixinAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class WeixinAuth extends OAuth2 implements IAuth {
public function buildAuthUrl(array $params = []) {
$defaultParams = [
'appid' => $this->clientId,
'response_type' => 'code',
'redirect_uri' => $this->getReturnUrl(),
'response_type' => 'code',
];
if (!empty($this->scope)) {
$defaultParams['scope'] = $this->scope;
Expand Down

0 comments on commit 5fb6e6f

Please sign in to comment.