fix: redirect to dashboard as default when logged in
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user