22.05.2017 - after a successful login attempt by registering a service to the related security tag: use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; Don't need of manually set the success_handler in your form, because the .