1
0
Fork 0
forked from forgejo/forgejo

Merge pull request #192 from DerDackel/ldapssl

Add LDAP over SSL support
This commit is contained in:
Lunny Xiao 2014-05-15 20:52:05 +08:00
commit 7869cfccb9
8 changed files with 104 additions and 6 deletions

View file

@ -21,6 +21,7 @@ type AuthenticationForm struct {
Domain string `form:"domain"`
Host string `form:"host"`
Port int `form:"port"`
UseSSL bool `form:"usessl"`
BaseDN string `form:"base_dn"`
Attributes string `form:"attributes"`
Filter string `form:"filter"`
@ -39,6 +40,7 @@ func (f *AuthenticationForm) Name(field string) string {
"Domain": "Domain name",
"Host": "Host address",
"Port": "Port Number",
"UseSSL": "Use SSL",
"BaseDN": "Base DN",
"Attributes": "Search attributes",
"Filter": "Search filter",