diff options
author | "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it> | 2011-04-26 19:17:06 +0200 |
---|---|---|
committer | "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it> | 2011-04-26 19:17:06 +0200 |
commit | 4206e500b304c36cdf6a68197d8902f487c4f6cd (patch) | |
tree | 7034b6fb77cc69f6fca197e4f20f9c34f844e6ad /rhodecode/model/forms.py | |
parent | b5a7e33369bbc8648d11d8a1e938a9c930589590 (diff) |
Enable start_tls connection encryption.
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index 986f505f..1bfb63ba 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -556,7 +556,7 @@ def DefaultPermissionsForm(perms_choices, register_choices, create_choices): return _DefaultPermissionsForm -def LdapSettingsForm(tls_reqcert_choices, search_scope_choices): +def LdapSettingsForm(tls_reqcert_choices, search_scope_choices, tls_kind_choices): class _LdapSettingsForm(formencode.Schema): allow_extra_fields = True filter_extra_fields = True @@ -564,7 +564,7 @@ def LdapSettingsForm(tls_reqcert_choices, search_scope_choices): ldap_active = StringBoolean(if_missing=False) ldap_host = UnicodeString(strip=True,) ldap_port = Number(strip=True,) - ldap_ldaps = StringBoolean(if_missing=False) + ldap_tls_kind = OneOf(tls_kind_choices) ldap_tls_reqcert = OneOf(tls_reqcert_choices) ldap_dn_user = UnicodeString(strip=True,) ldap_dn_pass = UnicodeString(strip=True,) |