mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +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:
parent
1b4369056e
commit
da6296a176
1 changed files with 9 additions and 2 deletions
|
@ -57,12 +57,19 @@ final class PhabricatorLDAPConfigOptions
|
||||||
$this->newOption('ldap.referrals', 'bool', true)
|
$this->newOption('ldap.referrals', 'bool', true)
|
||||||
->setBoolOptions(
|
->setBoolOptions(
|
||||||
array(
|
array(
|
||||||
pht("Follow Referrals"),
|
pht("Follow referrals"),
|
||||||
pht("Do Not Follow Referrals"),
|
pht("Do not follow referrals"),
|
||||||
))
|
))
|
||||||
->setDescription(
|
->setDescription(
|
||||||
pht("You may need to disable this if you use Windows 2003 ".
|
pht("You may need to disable this if you use Windows 2003 ".
|
||||||
"Active Directory.")),
|
"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?"))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue