We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5928e4 + 3b0611a commit c43758aCopy full SHA for c43758a
src/Middleware/OAuthAuthenticate.php
@@ -19,7 +19,7 @@ class OAuthAuthenticate
19
*/
20
public function handle($request, Closure $next, $guard = null)
21
{
22
- $wechat = app('EasyWeChat\\Foundation\\Application');
+ $wechat = app('EasyWeChat\\Foundation\\Application', [config('wechat')]);
23
24
if (!session('wechat.oauth_user')) {
25
if ($request->has('state') && $request->has('code')) {
0 commit comments