1. D

    Symfony 4 Validator with AJAX

    I would like to use the Symfony 4 Validator Component to validate my forms which I send via AJAX to my Controller. The Form is rendered with this method in the Controller: /** * @Route("/profile", name="profile") */ public function profile(Request $request){ $user = $this->getUser()...
  2. Z

    How do you log a login failure in Symfony 4?

    My Question What sort of Response should I return that won't change the default response? Or is there a better way to tack on a logger to a Login Failure/badcredentialsexception? Details I found this post here which states that you can (in Symfony 2.4) customize authentication failures or...