]> Raphaël G. Git Repositories - airbundle/commitdiff
Shorten air bundle route alias
authorRaphaël Gertz <git@rapsys.eu>
Fri, 8 Mar 2024 00:31:08 +0000 (01:31 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 8 Mar 2024 00:31:08 +0000 (01:31 +0100)
Controller/UserController.php

index bd28a54d72fd1a030ec730855bb92b15070dfdd8..13c1bec76817323d0caccc0aeb0968fc14f89fa4 100644 (file)
@@ -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(),