mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Move optional base_dn to end of form
This commit is contained in:
parent
9a9aa84e23
commit
771149e8d6
@ -70,15 +70,6 @@ class LdapBackendForm extends Form
|
|||||||
: array()
|
: array()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->addElement(
|
|
||||||
'text',
|
|
||||||
'base_dn',
|
|
||||||
array(
|
|
||||||
'required' => true,
|
|
||||||
'label' => t('Bind DN'),
|
|
||||||
'description' => t('The path where users can be found on the ldap server')
|
|
||||||
)
|
|
||||||
);
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'user_class',
|
'user_class',
|
||||||
@ -107,7 +98,16 @@ class LdapBackendForm extends Form
|
|||||||
'value' => 'ldap'
|
'value' => 'ldap'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->addElement(
|
||||||
|
'text',
|
||||||
|
'base_dn',
|
||||||
|
array(
|
||||||
|
'required' => false,
|
||||||
|
'label' => t('Base DN'),
|
||||||
|
'description' => t('The path where users can be found on the ldap server. ' .
|
||||||
|
' Leave empty to select all users available on the specified resource.')
|
||||||
|
)
|
||||||
|
);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user