Browse Source

Merge pull request #936 from rithujohn191/fix-comment

connector/ldap: correct a comment.
pull/943/head
rithu leena john 9 years ago committed by GitHub
parent
commit
583bf91ab4
  1. 2
      connector/ldap/ldap.go

2
connector/ldap/ldap.go

@ -359,7 +359,7 @@ func (c *ldapConnector) userEntry(conn *ldap.Conn, username string) (user ldap.E
}
func (c *ldapConnector) Login(ctx context.Context, s connector.Scopes, username, password string) (ident connector.Identity, validPass bool, err error) {
// make this check to avoid anonymous bind to the LDAP server.
// make this check to avoid unauthenticated bind to the LDAP server.
if password == "" {
return connector.Identity{}, false, nil
}

Loading…
Cancel
Save