mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
Wizard: Re-render passwords on the admin account and db creation page
That's not placeholders, actually, but this will be solved in a different issue. (in a more generic way) fixes #9545
This commit is contained in:
parent
179a22266e
commit
2f05ca6332
@ -167,21 +167,23 @@ class AdminAccountPage extends Form
|
||||
'password',
|
||||
'new_user_password',
|
||||
array(
|
||||
'required' => true,
|
||||
'label' => $this->translate('Password'),
|
||||
'description' => $this->translate('Enter the password to assign to the newly created account')
|
||||
'required' => true,
|
||||
'renderPassword' => true,
|
||||
'label' => $this->translate('Password'),
|
||||
'description' => $this->translate('Enter the password to assign to the newly created account')
|
||||
)
|
||||
);
|
||||
$this->addElement(
|
||||
'password',
|
||||
'new_user_2ndpass',
|
||||
array(
|
||||
'required' => true,
|
||||
'label' => $this->translate('Repeat password'),
|
||||
'description' => $this->translate(
|
||||
'required' => true,
|
||||
'renderPassword' => true,
|
||||
'label' => $this->translate('Repeat password'),
|
||||
'description' => $this->translate(
|
||||
'Please repeat the password given above to avoid typing errors'
|
||||
),
|
||||
'validators' => array(
|
||||
'validators' => array(
|
||||
array('identical', false, array('new_user_password'))
|
||||
)
|
||||
)
|
||||
|
@ -107,8 +107,9 @@ class DatabaseCreationPage extends Form
|
||||
'password',
|
||||
'password',
|
||||
array(
|
||||
'label' => $this->translate('Password'),
|
||||
'description' => $this->translate('The password for the database user defined above')
|
||||
'renderPassword' => true,
|
||||
'label' => $this->translate('Password'),
|
||||
'description' => $this->translate('The password for the database user defined above')
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user