nickw444 / flask-ldap3-login

LDAP3 Logins for Flask/Flask-Login

Home Page:http://flask-ldap3-login.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

user data attributes are lists sometimes

coreybrett opened this issue · comments

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.