fix: redirect to dashboard as default when logged in

This commit is contained in:
Björn Fromme
2026-01-07 10:15:27 +01:00
parent 5285ded46f
commit 5f33f82b8b
+2 -2
View File
@@ -30,9 +30,9 @@ class SecurityController extends AbstractController
return $this->redirectToRoute('app_booking_create_step_1'); 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()) { if (null !== $this->getUser()) {
return $this->redirectToRoute('app_personal_data'); return $this->redirectToRoute('app_account');
} }
$error = $authenticationUtils->getLastAuthenticationError(); $error = $authenticationUtils->getLastAuthenticationError();