X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/userbundle/blobdiff_plain/bab59a4b88a081a7a27a53b4559d74e63b68db92..ee0b2896d4f625a791c940e34aa7e5e5e56cbebb:/Form/RecoverMailType.php diff --git a/Form/RecoverMailType.php b/Form/RecoverMailType.php deleted file mode 100644 index c39c624..0000000 --- a/Form/RecoverMailType.php +++ /dev/null @@ -1,35 +0,0 @@ -add('password', RepeatedType::class, array('type' => PasswordType::class, 'invalid_message' => 'The password and confirmation must match', 'first_options' => array('attr' => array('placeholder' => 'Your password'), 'label' => 'Password'), 'second_options' => array('attr' => array('placeholder' => 'Your password confirmation'), 'label' => 'Confirm password'), 'options' => array('constraints' => array(new NotBlank(array('message' => 'Please provide your password')))))) - ->add('submit', SubmitType::class, array('label' => 'Send', 'attr' => array('class' => 'submit'))); - } - - /** - * {@inheritdoc} - */ - public function configureOptions(OptionsResolver $resolver) { - $resolver->setDefaults(['error_bubbling' => true]); - } - - /** - * {@inheritdoc} - */ - public function getName() { - return 'rapsys_user_recover_mail'; - } -}