app/config/services.php: in router, change /oauth/{strategy} to /login/{strategy} for oauth route.
This commit is contained in:
parent
deed1c5318
commit
52ea0c7531
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ $di->setShared('router', function() {
|
||||||
'action' => 'logout',
|
'action' => 'logout',
|
||||||
))->setName('logout');
|
))->setName('logout');
|
||||||
|
|
||||||
$router->add('/oauth/{strategy:([a-z]+)}/:params', array(
|
$router->add('/login/{strategy:([a-z]+)}/:params', array(
|
||||||
'controller' => 'auth',
|
'controller' => 'auth',
|
||||||
'action' => 'oauth'
|
'action' => 'oauth'
|
||||||
))->setName('oauth');
|
))->setName('oauth');
|
||||||
|
|
|
||||||
Reference in a new issue