プロジェクト

全般

プロフィール

Vote #64730

完了

When logging in via an autologin cookie the user's last_login_on should be updated

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Accounts / authentication_7
対象バージョン:
開始日:
2009/02/24
期日:
進捗率:

0%

予定工数:
category_id:
7
version_id:
6
issue_org_id:
2820
author_id:
5
assigned_to_id:
5
comments:
1
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0