title: Render new template contain successfully message after resetting password
body: <p>I'm using <code>Fosuserbundle</code> and I want to  render new template contain successfully message after resetting password. but I don't know how can I override the ResettingController file in order to render the template. here is the controller :</p>
  
  <pre><code>public function resetAction(Request $request, $token)
  {
      /** @var $formFactory \FOS\UserBundle\Form\Factory\FactoryInterface */
      $formFactory = $this-&gt;get('fos_user.resetting.form.factory');
      /** @var $userManager \FOS\UserBundle\Model\UserManagerInterface */
      $userManager = $this-&gt;get('fos_user.user_manager');
      /** @var $dispatcher \Symfony\Component\EventDispatcher\EventDispatcherInterface */
      $dispatcher = $this-&gt;get('event_dispatcher');
  
      $user = $userManager-&gt;findUserByConfirmationToken($token);
  
      if (null === $user) {
          throw new NotFoundHttpException(sprintf('The user with "confirmation token" does not exist for value "%s"', $token));
      }
  
      $form = $formFactory-&gt;createForm();
  
      $form-&gt;setData($user);
  
      $form-&gt;handleRequest($request);
      $form-&gt;getErrors(true);
  
  
  
      if ($form-&gt;isValid()) {
          $event = new FormEvent($form, $request);
          $dispatcher-&gt;dispatch(FOSUserEvents::RESETTING_RESET_SUCCESS, $event);
          $this-&gt;render('FOSUserBundle:Resetting:reset.html.twig', array(
              'token' =&gt; $token,
              'form' =&gt; $form-&gt;createView(),
          ));
  
          $userManager-&gt;updateUser($user);
  
          if (null === $response = $event-&gt;getResponse()) {
              $url = $this-&gt;generateUrl('fos_user_profile_show');
              $response = new RedirectResponse($url);
          }
  
          $dispatcher-&gt;dispatch(FOSUserEvents::RESETTING_RESET_COMPLETED, new FilterUserResponseEvent($user, $request, $response));
  
          return $response;
      }
  
      return $this-&gt;render('FOSUserBundle:Resetting:reset.html.twig', array(
          'token' =&gt; $token,
          'form' =&gt; $form-&gt;createView(),
      ));
  }
  </code></pre>