FOS\UserBundle\Controller\UserController::changePasswordAction PHP Method

changePasswordAction() public method

Change user password: show form
    public function changePasswordAction()
    {
        $user = $this->getUser();
        $form = $this->container->get('fos_user.form.change_password');
        $form->process($user);
        return $this->container->get('templating')->renderResponse('FOSUserBundle:User:changePassword.html.' . $this->getEngine(), array('form' => $form));
    }