Skip to content

Commit

Permalink
Merge pull request #111 from ndru123/fix-old-placeholders
Browse files Browse the repository at this point in the history
changed old placeholder :provider to new {provider}
  • Loading branch information
ADmad authored Nov 13, 2021
2 parents 882aa06 + 8e07188 commit d203a7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ public function routes(RouteBuilder $routes): void
['plugin' => 'ADmad/SocialAuth', 'controller' => 'Auth'],
function (RouteBuilder $routes) {
$routes->connect(
'/login/:provider',
'/login/{provider}',
['action' => 'login'],
['pass' => ['provider']]
);
$routes->connect(
'/callback/:provider',
'/callback/{provider}',
['action' => 'callback'],
['pass' => ['provider']]
);
Expand Down

0 comments on commit d203a7f

Please sign in to comment.