Complete !1 #13

Closed
delobell wants to merge 1 commit from aureplop/fix-mr1 into master

1 commit

Author SHA1 Message Date
Aurélien Delobelle
ce1e7d1099 Complete !1
- Force python-ldap >= 3 to get proper bytes/string management.
- Replace common['name'] with common['first_name'] because the name is
  already broken by get_names. Actually, allauth breaks down
  common['name'] in 'first_name + last_name'.
- Decrease timeout of LDAP requests to 5s.
- Fix get_names in case the LDAP returned a string without any space
  character.
- Fix get_names in case the LDAP doesn't return any cn, which was
  failing with Py3.
- Add tests about populating user data from LDAP.
2018-09-29 22:28:21 +02:00