Merge pull request #438 from rpabel/master

return directly on error
This commit is contained in:
Jan Eitzinger
2025-12-04 06:40:43 +01:00
committed by GitHub

View File

@@ -71,6 +71,7 @@ func (la *LdapAuthenticator) CanLogin(
l, err := la.getLdapConnection(true)
if err != nil {
cclog.Error("LDAP connection error")
return nil, false
}
defer l.Close()