#28256: Django `update_last_login` always providing lastest time. not last login
time
----------------------------------------+----------------------------
               Reporter:  Vinay Kumar   |          Owner:  nobody
                   Type:  Bug           |         Status:  new
              Component:  contrib.auth  |        Version:  1.11
               Severity:  Normal        |       Keywords:  last_login
           Triage Stage:  Unreviewed    |      Has patch:  0
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
                  UI/UX:  0             |
----------------------------------------+----------------------------
 I have logged into my site 1 days ago but today when I log into my site,
 it is showing today date in `user.last_login`.
 `user.last_login` should have yesterday date.

 code location.
 
https://github.com/django/django/blob/a3ba2662cdaa36183fdfb8a26dfa157e26fca76a/django/contrib/auth/models.py#L20

--
Ticket URL: <https://code.djangoproject.com/ticket/28256>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.698af0500185f94a9ebe8572fafffabd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to