add starttls support,

add starttls option to config
This commit is contained in:
2024-10-18 04:38:26 +00:00
parent fd84f9a991
commit 99242b70a0
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"`