From: Raphaƫl Gertz Date: Fri, 8 Mar 2024 00:31:08 +0000 (+0100) Subject: Shorten air bundle route alias X-Git-Tag: 0.4.0~21 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/f972044e64e3c1f79f86b1b44c2f821a35e39e62 Shorten air bundle route alias --- diff --git a/Controller/UserController.php b/Controller/UserController.php index bd28a54..13c1bec 100644 --- a/Controller/UserController.php +++ b/Controller/UserController.php @@ -160,7 +160,7 @@ class UserController extends BaseUserController { 'application_name' => $request->server->get('GOOGLE_PROJECT'), 'client_id' => $request->server->get('GOOGLE_CLIENT'), 'client_secret' => $request->server->get('GOOGLE_SECRET'), - 'redirect_uri' => $this->generateUrl('rapsys_air_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL), + 'redirect_uri' => $this->generateUrl('rapsysair_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL), 'scopes' => self::googleScopes, 'access_type' => 'offline', 'login_hint' => $user->getMail(), @@ -546,7 +546,7 @@ class UserController extends BaseUserController { 'application_name' => $request->server->get('GOOGLE_PROJECT'), 'client_id' => $request->server->get('GOOGLE_CLIENT'), 'client_secret' => $request->server->get('GOOGLE_SECRET'), - 'redirect_uri' => $this->generateUrl('rapsys_air_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL), + 'redirect_uri' => $this->generateUrl('rapsysair_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL), 'scopes' => self::googleScopes, 'access_type' => 'offline', 'login_hint' => $user->getMail(),