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

View File

@ -66,12 +66,13 @@ class LdapResourceForm extends Form
'autosubmit' => true, 'autosubmit' => true,
'label' => $this->translate('Connection'), 'label' => $this->translate('Connection'),
'description' => $this->translate( '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( 'multiOptions' => array(
'plaintext' => $this->translate('Plaintext'), 'plaintext' => $this->translate('Plaintext'),
Connection::LDAPS => 'Secure Sockets Layer (SSL)', Connection::LDAPS => 'LDAPS',
Connection::STARTTLS => 'Transport Layer Security (TLS)' Connection::STARTTLS => 'STARTTLS'
) )
) )
); );