mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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)
|
||||
)
|
||||
);
|
||||
$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(
|
||||
'hidden',
|
||||
'backend',
|
||||
|
Loading…
x
Reference in New Issue
Block a user