add starttls support,

add starttls option to config
This commit is contained in:
2024-10-18 04:38:26 +00:00
parent 6fea43f1b3
commit 9d6b35c9a2
4 changed files with 17 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ import (
type Config struct {
ListenPort int `json:"listenPort"`
LdapURL string `json:"ldapURL"`
StartTLS bool `json:"startTLS"`
BaseDN string `json:"baseDN"`
SessionSecretKey string `json:"sessionSecretKey"`
SessionCookieName string `json:"sessionCookieName"`