{"action":"reopened","issue":{"url":"https://api.github.com/repos/opencaching/okapi/issues/337","labels_url":"https://api.github.com/repos/opencaching/okapi/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/opencaching/okapi/issues/337/comments","events_url":"https://api.github.com/repos/opencaching/okapi/issues/337/events","html_url":"https://github.com/opencaching/okapi/issues/337","id":97666497,"number":337,"title":"Update user.last_login on OKAPI login","user":{"login":"following5","id":1614754,"avatar_url":"https://avatars.githubusercontent.com/u/1614754?v=3","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-28T10:10:26Z","updated_at":"2015-07-28T11:08:37Z","closed_at":null,"body":"The field `user.last_login` tracks the last login date on all OC installations. This field e.g. is important for rating the activity of cache owners when processing cache reports.\r\n\r\nWe currently have 2500 users in the OC.de database who have log entries that were created after the `user.last_login` date. ~2400 of them appeared after c:geo with OKAPI logging was made available, so it is confirmed that this issue is OKAPI related. (The other ~100 were before mid-2011, probably at this date some OC.de `last_login` related bug was fixed.)\r\n\r\nTo fix this, OKAPI should update `user.last_login` on successful Level 3 authentication."}}