LDAP: Remove omitempty flag from json annotation (#91843)

* remove omitempty flag from json annotation

* fix unit test
This commit is contained in:
Mihai Doarna
2024-08-13 18:17:52 +03:00
committed by GitHub
parent e0b8a00e78
commit b4db8bb967
2 changed files with 42 additions and 29 deletions
@@ -59,7 +59,20 @@ var (
"DC=ldap,DC=goauthentik,DC=io",
},
"search_filter": "(cn=%s)", "ssl_skip_verify": true,
"timeout": int64(10),
"timeout": int64(10),
"client_cert": "",
"client_cert_value": "",
"client_key": "",
"client_key_value": "",
"group_search_base_dns": nil,
"group_search_filter": "",
"group_search_filter_user_attribute": "",
"min_tls_version": "",
"root_ca_cert": "",
"root_ca_cert_value": nil,
"start_tls": false,
"use_ssl": false,
"tls_ciphers": nil,
},
},
},