mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Merge branch 'master' into feature/packages-4075
This commit is contained in:
commit
960cead434
@ -53,8 +53,10 @@ class AutologinBackendForm extends Form
|
|||||||
'strip_username_regexp',
|
'strip_username_regexp',
|
||||||
array(
|
array(
|
||||||
'label' => t('Filter Pattern'),
|
'label' => t('Filter Pattern'),
|
||||||
'description' => t('The regular expression to use to strip specific parts off from usernames. Leave empty if you do not want to strip off anything'),
|
'description' => t(
|
||||||
'value' => '/\@[^$]+$/',
|
'The regular expression to use to strip specific parts off from usernames.'
|
||||||
|
. ' Leave empty if you do not want to strip off anything'
|
||||||
|
),
|
||||||
'validators' => array(
|
'validators' => array(
|
||||||
new Zend_Validate_Callback(function ($value) {
|
new Zend_Validate_Callback(function ($value) {
|
||||||
return @preg_match($value, '') !== false;
|
return @preg_match($value, '') !== false;
|
||||||
|
@ -44,7 +44,7 @@ class LivestatusResourceForm extends Form
|
|||||||
'required' => true,
|
'required' => true,
|
||||||
'label' => t('Socket'),
|
'label' => t('Socket'),
|
||||||
'description' => t('The path to your livestatus socket used for querying monitoring data'),
|
'description' => t('The path to your livestatus socket used for querying monitoring data'),
|
||||||
'value' => realpath(Icinga::app()->getApplicationDir() . '/../var/rw/livestatus')
|
'value' => '/var/run/icinga2/cmd/livestatus'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user