-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
django-python3-ldap/django_python3_ldap/ldap.py
Lines 48 to 57 in 8285859
| user_fields = { | |
| field_name: ( | |
| attributes[attribute_name][0] | |
| if isinstance(attributes[attribute_name], (list, tuple)) else | |
| attributes[attribute_name] | |
| ) | |
| for field_name, attribute_name | |
| in settings.LDAP_AUTH_USER_FIELDS.items() | |
| if attribute_name in attributes | |
| } |
I'm trying to use the labeledURI field to store additional data about users as a list, however the above code removes all but the first value before any processing via LDAP_AUTH_CLEAN_USER_DATA can be made.
Metadata
Metadata
Assignees
Labels
No labels