|
|
@@ -1978,7 +1978,7 @@ class Organizr
|
|
|
'class' => 'ldapAuth ftpAuth switchAuth',
|
|
|
'label' => 'Host Address',
|
|
|
'value' => $this->config['authBackendHost'],
|
|
|
- 'placeholder' => 'http{s) | ftp(s) | ldap(s)://hostname:port'
|
|
|
+ 'placeholder' => 'http(s) | ftp(s) | ldap(s)://hostname:port'
|
|
|
),
|
|
|
array(
|
|
|
'type' => 'input',
|
|
|
@@ -1988,15 +1988,6 @@ class Organizr
|
|
|
'value' => $this->config['authBaseDN'],
|
|
|
'placeholder' => 'cn=%s,dc=sub,dc=domain,dc=com'
|
|
|
),
|
|
|
- array(
|
|
|
- 'type' => 'select',
|
|
|
- 'name' => 'ldapType',
|
|
|
- 'id' => 'ldapType',
|
|
|
- 'label' => 'LDAP Backend Type',
|
|
|
- 'class' => 'ldapAuth switchAuth',
|
|
|
- 'value' => $this->config['ldapType'],
|
|
|
- 'options' => $this->getLDAPOptions()
|
|
|
- ),
|
|
|
array(
|
|
|
'type' => 'input',
|
|
|
'name' => 'authBackendHostPrefix',
|
|
|
@@ -2027,9 +2018,18 @@ class Organizr
|
|
|
'type' => 'password',
|
|
|
'name' => 'ldapBindPassword',
|
|
|
'class' => 'ldapAuth switchAuth',
|
|
|
- 'label' => 'Password',
|
|
|
+ 'label' => 'Bind Password',
|
|
|
'value' => $this->config['ldapBindPassword']
|
|
|
),
|
|
|
+ array(
|
|
|
+ 'type' => 'select',
|
|
|
+ 'name' => 'ldapType',
|
|
|
+ 'id' => 'ldapType',
|
|
|
+ 'label' => 'LDAP Backend Type',
|
|
|
+ 'class' => 'ldapAuth switchAuth',
|
|
|
+ 'value' => $this->config['ldapType'],
|
|
|
+ 'options' => $this->getLDAPOptions()
|
|
|
+ ),
|
|
|
array(
|
|
|
'type' => 'html',
|
|
|
'class' => 'ldapAuth switchAuth',
|