FOS\UserBundle\Form\ResetPasswordForm::configure PHP Method

configure() public method

public configure ( )
    public function configure()
    {
        $this->add(new RepeatedField(new PasswordField('new')));
    }

Usage Example

 public function configure()
 {
     $this->add(new PasswordField('current'));
     parent::configure();
 }