This commit is contained in:
Jeremy Benoist
2016-02-12 12:24:30 +01:00
parent 0c6845a98f
commit 9856805540
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class NewUserType extends AbstractType
->add('plainPassword', RepeatedType::class, array(
'type' => PasswordType::class,
'invalid_message' => 'The password fields must match',
'first_options' => array('label' => 'Password'),
'first_options' => array('label' => 'Password'),
'second_options' => array('label' => 'Repeat new password'),
'constraints' => array(
new Constraints\Length(array(