forked from forgejo/forgejo
Add LDAP over SSL support
This commit is contained in:
parent
f5b2e5f836
commit
eb264a112b
6 changed files with 36 additions and 6 deletions
|
@ -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"`
|
||||
|
@ -37,6 +38,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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue