When logging in via an autologin cookie the user's last_login_on should be updated
|Assignee:||Eric Davis||% Done:|
|Category:||Accounts / authentication|
When a user logs in the
User.last_login_on field is updated to the current time. This is correct.
When a user logs in with an autologin cookie though,
User.last_login_on isn't updated until their cookie expires. This makes it difficult to see which users have been active recently.
A few ideas for this would be:
User.last_login_oneach time a user "logs in" with the autologin cookie (e.g. every request)
- Add a new User field to track when a user was active and populate that with the time of the last request.
- A better idea I haven't thought of yet....
I'm open to alternative suggestions.
(This was prompted by a issue with my System Notification plugin: https://projects.littlestreamsoftware.com/issues/2146)