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

last_login not set #21

Closed anpr closed 6 years ago

anpr commented 6 years ago

Hi,

Thanks for the very useful library :) I noticed that Django's last_login attribute is not set upon authentication. Could you add this?

Thanks

povtux commented 6 years ago

Hi,

Done, last_login now updates each time the authenticate function runs successfully.

Thanks for this suggestion. Regards.