mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
ExternalBackendForm: make the variable a webserver assigns a username to configurable
refs #12164
This commit is contained in:
parent
4d6160d987
commit
790d83cb72
@ -55,6 +55,18 @@ class ExternalBackendForm extends Form
|
|||||||
'validators' => array($callbackValidator)
|
'validators' => array($callbackValidator)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->addElement(
|
||||||
|
'text',
|
||||||
|
'username_envvar',
|
||||||
|
array(
|
||||||
|
'label' => $this->translate('Username Environment Variable'),
|
||||||
|
'description' => $this->translate(
|
||||||
|
'The environment variable the webserver assigns the authenticated user\'s name to.'
|
||||||
|
),
|
||||||
|
'required' => true,
|
||||||
|
'value' => 'REMOTE_USER'
|
||||||
|
)
|
||||||
|
);
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'hidden',
|
'hidden',
|
||||||
'backend',
|
'backend',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user