We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243571d commit e5694cdCopy full SHA for e5694cd
1 file changed
internal/service/ldap_service.go
@@ -143,9 +143,8 @@ func (ldap *LdapService) BindService(rebind bool) error {
143
144
if ldap.cert != nil {
145
return ldap.conn.ExternalBind()
146
- } else {
147
- return ldap.conn.Bind(ldap.config.BindDN, ldap.config.BindPassword)
148
}
+ return ldap.conn.Bind(ldap.config.BindDN, ldap.config.BindPassword)
149
150
151
func (ldap *LdapService) Bind(userDN string, password string) error {
0 commit comments