Fix SSL, TLS vs LDAPS, STARTTLS in the LDAP resource form

This commit is contained in:
Eric Lippmann 2015-03-13 00:00:21 +01:00
parent db08ccad4b
commit 61e01a4439
1 changed files with 4 additions and 3 deletions

View File

@ -66,12 +66,13 @@ class LdapResourceForm extends Form
'autosubmit' => true,
'label' => $this->translate('Connection'),
'description' => $this->translate(
'The type of connection to use. Unencrypted (Plaintext) or encrypted (SSL, TLS).'
'Whether to encrypt communication. Choose STARTTLS or LDAPS for encrypted communication or'
. ' Plaintext for unencrypted communication'
),
'multiOptions' => array(
'plaintext' => $this->translate('Plaintext'),
Connection::LDAPS => 'Secure Sockets Layer (SSL)',
Connection::STARTTLS => 'Transport Layer Security (TLS)'
Connection::LDAPS => 'LDAPS',
Connection::STARTTLS => 'STARTTLS'
)
)
);