D
Size: a a a
АС
AT
АС
АС
$security->firewall('main')
->lazy(true)
->customAuthenticators([LoginAuthenticator::class])
->entryPoint(AuthenticationEntryPoint::class)
->logout()
->path('logout')
->target('login');
А в LoginAuthenticator extends AbstractAuthenticator
методpublic function onAuthenticationSuccess(): ?Response
{
return new RedirectResponse($this->urlGenerator->generate('home'));
}
AT
АС
AT
AT
АС
МФ
МФ