Skip to content

Commit

Permalink
Revert "Bugfix. close #380"
Browse files Browse the repository at this point in the history
This reverts commit ac96bf7.
  • Loading branch information
overtrue committed Jul 28, 2020
1 parent 5c99558 commit feb3eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/OAuthAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function handle($request, Closure $next, $account = 'default', $scope = n

session()->forget($sessionKey);

return redirect()->to($officialAccount->oauth->scopes($scope)->redirect($request->fullUrl()));
return $officialAccount->oauth->scopes($scope)->redirect($request->fullUrl());
}

event(new WeChatUserAuthorized(session($sessionKey), $isNewSession, $account));
Expand Down

2 comments on commit feb3eca

@bolechen
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为啥又回滚了啊?

@overtrue
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bolechen 因为在 overtrue/wechat 尝试兼容性变更 socialite 3 没成功...这是我的锅

Please sign in to comment.