Skip to content

Commit 5ddfb22

Browse files
committed
Merge pull request ZF-Commons#563 from claytondaley/password-entities-2.x
Fix password Element type (2.x)
2 parents 2cc167a + 10f6ca8 commit 5ddfb22

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/ZfcUser/Form/Base.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function __construct()
4343

4444
$this->add(array(
4545
'name' => 'password',
46+
'type' => 'password',
4647
'options' => array(
4748
'label' => 'Password',
4849
),
@@ -53,6 +54,7 @@ public function __construct()
5354

5455
$this->add(array(
5556
'name' => 'passwordVerify',
57+
'type' => 'password',
5658
'options' => array(
5759
'label' => 'Password Verify',
5860
),

src/ZfcUser/Form/Login.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function __construct($name, AuthenticationOptionsInterface $options)
3838
//
3939
$this->add(array(
4040
'name' => 'credential',
41+
'type' => 'password',
4142
'options' => array(
4243
'label' => 'Password',
4344
),

0 commit comments

Comments
 (0)