getLastUsername from AuthenticationUtils always empty
问题 So my code is pretty straightforward, I have a login form, an authenticator, and a login method in the controller. In my authenticator class, when user credentials are wrong, I store the email used in the session. See below ( specifically the getCredentials method ) : <?php namespace AppBundle\Security; use Psr\Log\LoggerInterface; use Symfony\Component\Form\FormFactoryInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony