0001-ldap-make-user_attributes.from_ldap-case-insensitive.patch
src/authentic2/backends/ldap_backend.py | ||
---|---|---|
713 | 713 |
to_user = mapping.get('to_user') |
714 | 714 |
if not from_ldap or not to_user: |
715 | 715 |
continue |
716 |
from_ldap = from_ldap.lower() |
|
716 | 717 |
if not attributes.get(from_ldap): |
717 | 718 |
user_attributes[to_user] = '' |
718 | 719 |
else: |
719 |
- |