parent
bb96316a7c
commit
f1b6a82387
|
@ -55,7 +55,8 @@ class SecurityConfigForm extends ConfigForm
|
||||||
'text',
|
'text',
|
||||||
'protected_customvars',
|
'protected_customvars',
|
||||||
array(
|
array(
|
||||||
'required' => true,
|
'allowEmpty' => true,
|
||||||
|
'value' => '*pw*,*pass*,community',
|
||||||
'label' => mt('monitoring', 'Protected Custom Variables'),
|
'label' => mt('monitoring', 'Protected Custom Variables'),
|
||||||
'description' => mt('monitoring',
|
'description' => mt('monitoring',
|
||||||
'Comma separated case insensitive list of protected custom variables.'
|
'Comma separated case insensitive list of protected custom variables.'
|
||||||
|
|
|
@ -56,7 +56,9 @@ class SecurityStep extends Step
|
||||||
. '<tbody>'
|
. '<tbody>'
|
||||||
. '<tr>'
|
. '<tr>'
|
||||||
. '<td><strong>' . mt('monitoring', 'Protected Custom Variables') . '</strong></td>'
|
. '<td><strong>' . mt('monitoring', 'Protected Custom Variables') . '</strong></td>'
|
||||||
. '<td>' . $this->data['securityConfig']['protected_customvars'] . '</td>'
|
. '<td>' . ($this->data['securityConfig']['protected_customvars'] ? (
|
||||||
|
$this->data['securityConfig']['protected_customvars']
|
||||||
|
) : mt('monitoring', 'None', 'monitoring.protected_customvars')) . '</td>'
|
||||||
. '</tr>'
|
. '</tr>'
|
||||||
. '</tbody>'
|
. '</tbody>'
|
||||||
. '</table>';
|
. '</table>';
|
||||||
|
|
Loading…
Reference in New Issue