Files
odoo_source/addons/auth_ldap/models
Éloi Rivard 72917b4a82 [IMP] auth_ldap: allow multiple '%s' in the filter.
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>
2021-01-28 08:12:30 +00:00
..