Skip to content

Commit

Permalink
Make 'modules/monitoring/config.ini' doesn't have to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Aug 21, 2014
1 parent b146a8c commit 30d0ebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/monitoring/application/forms/Config/SecurityForm.php
Expand Up @@ -21,13 +21,14 @@ class SecurityForm extends Form
*/
public function create()
{
$default = '*pw*,*pass*,community';
$this->addElement(
'text',
'protected_customvars',
array(
'label' => 'Protected Custom Variables',
'required' => true,
'value' => $this->config->protected_customvars,
'value' => $this->config ? $this->config->get('protected_customvars', $default) : $default,
'helptext' => 'Comma separated case insensitive list of protected custom variables.'
. ' Use * as a placeholder for zero or more wildcard characters.'
. ' Existance of those custom variables will be shown, but their values will be masked.'
Expand Down

0 comments on commit 30d0ebc

Please sign in to comment.