mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(api): filter LDAP password from settings response (#2488)
This commit is contained in:
parent
17d63ae3ca
commit
d510bbbcfd
3 changed files with 6 additions and 1 deletions
|
@ -47,7 +47,7 @@ type (
|
|||
// LDAPSettings represents the settings used to connect to a LDAP server
|
||||
LDAPSettings struct {
|
||||
ReaderDN string `json:"ReaderDN"`
|
||||
Password string `json:"Password"`
|
||||
Password string `json:"Password,omitempty"`
|
||||
URL string `json:"URL"`
|
||||
TLSConfig TLSConfiguration `json:"TLSConfig"`
|
||||
StartTLS bool `json:"StartTLS"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue