Archived
1
0
Fork 0

app/config/services.php: in router, change /oauth/{strategy} to /login/{strategy} for oauth route.

This commit is contained in:
Henrik Hautakoski 2018-04-06 11:50:07 +02:00
parent deed1c5318
commit 52ea0c7531

View file

@ -121,7 +121,7 @@ $di->setShared('router', function() {
'action' => 'logout',
))->setName('logout');
$router->add('/oauth/{strategy:([a-z]+)}/:params', array(
$router->add('/login/{strategy:([a-z]+)}/:params', array(
'controller' => 'auth',
'action' => 'oauth'
))->setName('oauth');