X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/0d068fd3e188d5f80f718e1003bf7937ebd13049..b55b7f6127d518d2894508ba1837b71364c1768b:/Controller/UserController.php?ds=inline 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)]); } }