diff --git a/src/Controller/RegistrationController.php b/src/Controller/RegistrationController.php index 50e84c2..94a135e 100644 --- a/src/Controller/RegistrationController.php +++ b/src/Controller/RegistrationController.php @@ -37,7 +37,7 @@ class RegistrationController extends AbstractController // do anything else you need here, like send an email - return $security->login($user, 'form_login', 'intern'); + return $security->login($user, 'form_login', 'main'); } return $this->render('registration/register.html.twig', [ @@ -65,7 +65,7 @@ class RegistrationController extends AbstractController // do anything else you need here, like send an email - return $security->login($user, 'form_login', 'employee'); + return $security->login($user, 'form_login', 'main'); } return $this->render('registration/register.html.twig', [