Vote #64730
完了When logging in via an autologin cookie the user's last_login_on should be updated
0%
説明
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:
- Update @User.last_login_on@ each 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)
journals
Fixed in r2524. User's last_login_on is now updated when the user starts a new session using autologin cookie, not on each request.
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,3679,When a user is accessing by means of an stored cookie, "Last connection" time is not updated.
Admin Redmine さんが3年以上前に更新
- カテゴリ を Accounts / authentication_7 にセット
- 対象バージョン を 0.9.0_6 にセット