fix: Fix/ldap tls (#162)

* optimize and fix tls of LDAP

* fix
This commit is contained in:
Tao Chen authored and GitHub committed 2025-03-02 22:59:01 +08:00
1 parent 403d9c2233
commit 5db3c8bf0b
4 files changed
+34 -11

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ type LdapUser struct {
type Ldap struct {
Enable bool `mapstructure:"enable"`
Url string `mapstructure:"url"`
TLS bool `mapstructure:"tls"`
TlsCaFile string `mapstructure:"tls-ca-file"`
TlsVerify bool `mapstructure:"tls-verify"`
BaseDn string `mapstructure:"base-dn"`
BindDn string `mapstructure:"bind-dn"`