parent
67e72387ee
commit
b725a07197
|
@ -48,6 +48,7 @@ next (will be 1.8.0)
|
|||
* FEATURE: Import Sources now allows downloading previewed data as JSON (#2096)
|
||||
* FEATURE: REST API Import now allows custom headers (#2132)
|
||||
* FEATURE: REST API Import can now extract nested properties (#2132)
|
||||
* FEATURE: REST API Form remembers passwords without exposing them (#2070)
|
||||
* FEATURE: UTF8 validation for failed imports gives better error message (#2143)
|
||||
* FEATURE: ArrayByElementPosition now allows filtering by key name (#1721)
|
||||
* FEATURE: Use your Director Objects as an Import Source (#2198)
|
||||
|
|
|
@ -229,9 +229,9 @@ class ImportSourceRestApi extends ImportSourceHook
|
|||
),
|
||||
]);
|
||||
|
||||
$form->addElement('password', 'password', array(
|
||||
$form->addElement('storedPassword', 'password', [
|
||||
'label' => $form->translate('Password'),
|
||||
));
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -274,7 +274,7 @@ class ImportSourceRestApi extends ImportSourceHook
|
|||
|
||||
$passRequired = strlen($form->getSentOrObjectSetting('proxy_user')) > 0;
|
||||
|
||||
$form->addElement('password', 'proxy_pass', [
|
||||
$form->addElement('storedPassword', 'proxy_pass', [
|
||||
'label' => $form->translate('Proxy Password'),
|
||||
'required' => $passRequired
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue