| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 11 | public function __construct() { |
||
| 12 | |||
| 13 | parent::__construct('edit'); |
||
| 14 | |||
| 15 | # Add fields |
||
| 16 | |||
| 17 | $this->addText('password', '', FORM_FIELD_PASSWORD, CONFIG_USER_PASSWORD_MAX_LENGTH, ['required' => true]); |
||
| 18 | |||
| 19 | $this->addText('password_new', '', FORM_FIELD_PASSWORD, CONFIG_USER_PASSWORD_MAX_LENGTH, ['required' => true]); |
||
| 20 | |||
| 21 | $this->addText('password_retype', '', FORM_FIELD_PASSWORD, CONFIG_USER_PASSWORD_MAX_LENGTH, ['required' => true]); |
||
| 22 | } |
||
| 23 | } |
||
| 25 |