fix:security+firewall
This commit is contained in:
parent
f66fb6028d
commit
95fcc26fe8
@ -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', [
|
||||||
|
Loading…
Reference in New Issue
Block a user