diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index 1b9df58..36b5f6f 100644 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -30,9 +30,9 @@ class SecurityController extends AbstractController return $this->redirectToRoute('app_booking_create_step_1'); } - // If authenticated but not in booking flow, go to personal data + // If authenticated but not in booking flow, redirect to dashboard if (null !== $this->getUser()) { - return $this->redirectToRoute('app_personal_data'); + return $this->redirectToRoute('app_account'); } $error = $authenticationUtils->getLastAuthenticationError();