Before this commit, the ldap filter can only contain a single placeholder, and thus the `login` can only be matched against a single LDAP attribute. This change allows matching the `login` against multiple LDAP attributes e.g. checking against either an email or a uid: (|(mail=%s)(uid=%s)) closes odoo/odoo#62134 Signed-off-by: Olivier Dony (odo) <odo@openerp.com>