mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
commit
0287012739
@ -273,11 +273,9 @@ class ImportSourceRestApi extends ImportSourceHook
|
||||
),
|
||||
]);
|
||||
|
||||
$passRequired = strlen($form->getSentOrObjectSetting('proxy_user')) > 0;
|
||||
|
||||
$form->addElement('storedPassword', 'proxy_pass', [
|
||||
'label' => $form->translate('Proxy Password'),
|
||||
'required' => $passRequired
|
||||
'required' => strlen((string) $form->getSentOrObjectSetting('proxy_user')) > 0
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user