Skip to content

Commit

Permalink
upgrade plugin center to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
leo108 committed May 29, 2018
1 parent e8fd532 commit 151dd48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/OAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function callback($name, Request $request)
}

/* @var Plugin $plugin */
$oauthUser = $plugin->getOAuthUser($request);
$oauthUser = $plugin->getOAuthUser($request, route('oauth.callback', ['name' => $name]));
$bindUser = null;
foreach ($oauthUser->getBinds() as $type => $id) {
if (!$id) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"leo108/laravel_cas_server": "^2.0.0",
"leo108/php_cas_server_oauth_plugin_center": "1.*",
"leo108/php_cas_server_oauth_plugin_center": "2.*",
"arvenil/ninja-mutex": "^0.5.1",
"fideloper/proxy": "^3.1"
},
Expand Down

0 comments on commit 151dd48

Please sign in to comment.