add starttls support,

add starttls option to config
This commit is contained in:
2025-02-11 07:09:48 +00:00
parent 89c7dc7897
commit 50ff3b2cfc
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"`