Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
12 | { |
||
13 | $builder->add('password', RepeatedType::class, array( |
||
14 | 'type' => 'password', |
||
15 | 'first_name' => 'new', |
||
16 | 'second_name' => 'confirm', |
||
17 | 'first_options' => array('label' => 'label.password.new'), |
||
18 | 'second_options' => array('label' => 'label.password.confirm'), |
||
19 | 'invalid_message' => 'password.not_match', // <--- This message |
||
20 | 'options' => array(), |
||
21 | 'required' => true, |
||
22 | )); |
||
23 | } |
||
24 | } |
||
25 |