nickw444 / flask-ldap3-login

LDAP3 Logins for Flask/Flask-Login
http://flask-ldap3-login.readthedocs.org/en/latest/
MIT License
73 stars 38 forks source link

user data attributes are lists sometimes #85

Open coreybrett opened 4 years ago

coreybrett commented 4 years ago

I have code that extracts data from the user like so...

fname = data["givenName"]

this usually works fine and the value is a string.

Occasionally, the value is a list with a single string value.

This doesn't seem to be related to the particular user because it happens to my own accounts sometimes.

Not sure if this would be related to flask-ldap3-login or if it would be ldap3.