Lucterios2 / django_auth_ldap3_ad

Simple LDAP/AD auth module for django
https://pypi.python.org/pypi/django-auth-ldap3-ad
GNU General Public License v3.0
45 stars 25 forks source link

Case Sensitivity #1

Closed rfc791 closed 9 years ago

rfc791 commented 9 years ago

Not sure how to do a pull request. I updated line 84 to be case insensitive.

uid = User.objects.filter(username__iexact=username).values_list('pk', flat=True)
usr = User.objects.get(pk=uid[0])
povtux commented 9 years ago

Hi,

I will soon deliver a new version taking this into account.

Thanks & best regards

povtux commented 9 years ago

Hi, Should be good for now. Regards