Don't show password when creating or updating a user
Signed-off-by: Eric Lippmann <eric.lippmann@netways.de>
This commit is contained in:
parent
029aeda164
commit
95fb00ac8d
|
@ -34,7 +34,7 @@ class UserForm extends RepositoryForm
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'password',
|
||||||
'password',
|
'password',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
@ -56,7 +56,7 @@ class UserForm extends RepositoryForm
|
||||||
$this->createInsertElements($formData);
|
$this->createInsertElements($formData);
|
||||||
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'password',
|
||||||
'password',
|
'password',
|
||||||
array(
|
array(
|
||||||
'label' => $this->translate('Password')
|
'label' => $this->translate('Password')
|
||||||
|
|
Loading…
Reference in New Issue