mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Added StartTLS functionality
Added StartTLS in function Connect(). And also added parameters in config to activate StartTLS.
This commit is contained in:
parent
0efc0bbe3a
commit
383e40636b
3 changed files with 18 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ class LdapIdentitiesPlugin extends AbstractPlugin
|
|||
->SetLabel("LDAP Protocol Version")
|
||||
->SetType(PluginPropertyType::SELECTION)
|
||||
->SetDefaultValue([2, 3]),
|
||||
|
||||
Property::NewInstance(LdapConfig::CONFIG_STARTTLS)
|
||||
->SetLabel("Use StartTLS")
|
||||
->SetType(PluginPropertyType::BOOL)
|
||||
->SetDescription("Whether or not to use TLS encrypted connection")
|
||||
->SetDefaultValue(true),
|
||||
|
||||
Property::NewInstance(LdapConfig::CONFIG_BIND_USER)
|
||||
->SetLabel("Bind User DN")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue