Loading src/AuthenticationService.php +6 −3 Original line number Diff line number Diff line Loading @@ -173,7 +173,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $url = Url::fromRoute('user.login'); $response = new TrustedRedirectResponse($url->toString()); return $response->send(); $response->send(); exit(); } if ($this->debug) { Loading @@ -196,7 +197,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $authUrl = $this->oauthClient->getAuthorizationUrl() . '&client_id=' . $clientId; $response = new TrustedRedirectResponse($authUrl); return $response->send(); $response->send(); exit(); } /** Loading @@ -220,7 +222,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $redirect .= '&expires_on=' . $accessToken->getExpires(); $response = new TrustedRedirectResponse($redirect); return $response->send(); $response->send(); exit(); } } catch (IdentityProviderException $e) { Loading Loading
src/AuthenticationService.php +6 −3 Original line number Diff line number Diff line Loading @@ -173,7 +173,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $url = Url::fromRoute('user.login'); $response = new TrustedRedirectResponse($url->toString()); return $response->send(); $response->send(); exit(); } if ($this->debug) { Loading @@ -196,7 +197,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $authUrl = $this->oauthClient->getAuthorizationUrl() . '&client_id=' . $clientId; $response = new TrustedRedirectResponse($authUrl); return $response->send(); $response->send(); exit(); } /** Loading @@ -220,7 +222,8 @@ class AuthenticationService implements AuthenticationServiceInterface { $redirect .= '&expires_on=' . $accessToken->getExpires(); $response = new TrustedRedirectResponse($redirect); return $response->send(); $response->send(); exit(); } } catch (IdentityProviderException $e) { Loading