#11504 Fixed wmi credential
This commit is contained in:
parent
8cb5e8769c
commit
78075cefb9
|
@ -1460,7 +1460,7 @@ class HostDevices extends Wizard
|
||||||
}
|
}
|
||||||
|
|
||||||
include_once $config['homedir'].'/include/class/CredentialStore.class.php';
|
include_once $config['homedir'].'/include/class/CredentialStore.class.php';
|
||||||
$available_keys = CredentialStore::getKeys('CUSTOM');
|
$available_keys = CredentialStore::getKeys('WMI');
|
||||||
if (check_acl($config['id_user'], 0, 'UM')) {
|
if (check_acl($config['id_user'], 0, 'UM')) {
|
||||||
$link_to_cs = '<a class="ext_link" href="'.ui_get_full_url(
|
$link_to_cs = '<a class="ext_link" href="'.ui_get_full_url(
|
||||||
'index.php?sec=gmodules&sec2=godmode/groups/group_list&tab=credbox'
|
'index.php?sec=gmodules&sec2=godmode/groups/group_list&tab=credbox'
|
||||||
|
@ -1482,7 +1482,7 @@ class HostDevices extends Wizard
|
||||||
'arguments' => [
|
'arguments' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'name' => 'auth_strings[]',
|
'name' => 'auth_strings[]',
|
||||||
'fields' => CredentialStore::getKeys('CUSTOM'),
|
'fields' => CredentialStore::getKeys('WMI'),
|
||||||
'selected' => explode(
|
'selected' => explode(
|
||||||
',',
|
',',
|
||||||
$this->task['auth_strings']
|
$this->task['auth_strings']
|
||||||
|
|
Loading…
Reference in New Issue