Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\Users;
6
 
7
use Laminas\Form\Form;
8
 
9
 
10
class ChangePasswordForm extends Form
11
{
12
 
13
    public function __construct()
14
    {
15
 
16
        parent::__construct();
17
        $this->setInputFilter(new ChangePasswordFilter());
18
 
19
 
20
         $this->add([
21
             'name' => 'password',
22
             'type' => \Laminas\Form\Element\Password::class,
23
             'attributes' => [
24
                 'maxlength' => 25,
25
                 'id' => 'password',
26
             ]
27
         ]);
28
         $this->add([
29
             'name' => 'confirmation',
30
             'type' => \Laminas\Form\Element\Password::class,
31
             'attributes' => [
32
                 'maxlength' => 25,
33
                 'id' => 'confirmation',
34
             ]
35
         ]);
36
    }
37
 
38
 
39
}