X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0d068fd3e188d5f80f718e1003bf7937ebd13049..c31b21bb5ae6a3c8509ebd7b253067c04b1d87cc:/Controller/UserController.php diff --git a/Controller/UserController.php b/Controller/UserController.php index 510ae33..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(), @@ -640,6 +640,6 @@ class UserController extends BaseUserController { } //Redirect to user - return $this->redirectToRoute('rapsys_user_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]); + return $this->redirectToRoute('rapsysuser_edit', ['mail' => $short = $this->slugger->short($user->getMail()), 'hash' => $this->slugger->hash($short)]); } }