fix: redirect to dashboard as default when logged in
This commit is contained in:
1 parent
1fe8a2cb17
commit
7942656026
1 file changed
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user