mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
SecurityForm: replace customvars' with
protected_customvars'
refs #6641
This commit is contained in:
parent
65473ac8ee
commit
3e079efe2a
@ -23,11 +23,11 @@ class SecurityForm extends Form
|
|||||||
{
|
{
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'customvars',
|
'protected_customvars',
|
||||||
array(
|
array(
|
||||||
'label' => 'Protected Custom Variables',
|
'label' => 'Protected Custom Variables',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'value' => $this->config->customvars
|
'value' => $this->config->protected_customvars
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->setSubmitLabel('{{SAVE_ICON}} Save');
|
$this->setSubmitLabel('{{SAVE_ICON}} Save');
|
||||||
@ -50,7 +50,7 @@ class SecurityForm extends Form
|
|||||||
{
|
{
|
||||||
$values = $this->getValues();
|
$values = $this->getValues();
|
||||||
return new Zend_Config(array(
|
return new Zend_Config(array(
|
||||||
'customvars' => $values['customvars']
|
'protected_customvars' => $values['protected_customvars']
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user