1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

LDAP STARTTLS option.

Summary: For GitHub PR 246.

Test Plan: Looked at the option.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4485
This commit is contained in:
Ricky Elrod 2013-01-17 09:49:58 -08:00 committed by epriestley
parent 1b4369056e
commit da6296a176

View file

@ -57,12 +57,19 @@ final class PhabricatorLDAPConfigOptions
$this->newOption('ldap.referrals', 'bool', true)
->setBoolOptions(
array(
pht("Follow Referrals"),
pht("Do Not Follow Referrals"),
pht("Follow referrals"),
pht("Do not follow referrals"),
))
->setDescription(
pht("You may need to disable this if you use Windows 2003 ".
"Active Directory.")),
$this->newOption('ldap.start-tls', 'bool', false)
->setBoolOptions(
array(
pht("Use STARTTLS"),
pht("Do not use STARTTLS"),
))
->setDescription(pht("Should LDAP use STARTTLS?"))
);
}