fix:security+firewall

This commit is contained in:
allavenavr 2024-12-20 09:17:28 +01:00
parent f66fb6028d
commit 95fcc26fe8

View File

@ -37,7 +37,7 @@ class RegistrationController extends AbstractController
// do anything else you need here, like send an email // 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', [ 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 // 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', [ return $this->render('registration/register.html.twig', [