{"action":"created","issue":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1488","repository_url":"https://api.github.com/repos/splitbrain/dokuwiki","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1488/labels{/name}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1488/comments","events_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1488/events","html_url":"https://github.com/splitbrain/dokuwiki/pull/1488","id":138026530,"number":1488,"title":"Invalidate user session cache (should fix #1117)","user":{"login":"mape2k","id":533874,"avatar_url":"https://avatars.githubusercontent.com/u/533874?v=3","gravatar_id":"","url":"https://api.github.com/users/mape2k","html_url":"https://github.com/mape2k","followers_url":"https://api.github.com/users/mape2k/followers","following_url":"https://api.github.com/users/mape2k/following{/other_user}","gists_url":"https://api.github.com/users/mape2k/gists{/gist_id}","starred_url":"https://api.github.com/users/mape2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mape2k/subscriptions","organizations_url":"https://api.github.com/users/mape2k/orgs","repos_url":"https://api.github.com/users/mape2k/repos","events_url":"https://api.github.com/users/mape2k/events{/privacy}","received_events_url":"https://api.github.com/users/mape2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T23:33:39Z","updated_at":"2016-03-03T11:22:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/pulls/1488","html_url":"https://github.com/splitbrain/dokuwiki/pull/1488","diff_url":"https://github.com/splitbrain/dokuwiki/pull/1488.diff","patch_url":"https://github.com/splitbrain/dokuwiki/pull/1488.patch"},"body":"Set session auth-time to a value before file mtime of data/cache/sessionpurge).\r\nThis will refresh cache because profile data will be reloaded immediately.\r\n\r\nThis should fix issue #1117 when using authplain.\r\n\r\nAnother approach could be updating session user info directly. IMHO just mark it invalid is a little bit cleaner, so changes loading user profile did not affect this again."},"comment":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/comments/191714185","html_url":"https://github.com/splitbrain/dokuwiki/pull/1488#issuecomment-191714185","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1488","id":191714185,"user":{"login":"Chris--S","id":176843,"avatar_url":"https://avatars.githubusercontent.com/u/176843?v=3","gravatar_id":"","url":"https://api.github.com/users/Chris--S","html_url":"https://github.com/Chris--S","followers_url":"https://api.github.com/users/Chris--S/followers","following_url":"https://api.github.com/users/Chris--S/following{/other_user}","gists_url":"https://api.github.com/users/Chris--S/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris--S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris--S/subscriptions","organizations_url":"https://api.github.com/users/Chris--S/orgs","repos_url":"https://api.github.com/users/Chris--S/repos","events_url":"https://api.github.com/users/Chris--S/events{/privacy}","received_events_url":"https://api.github.com/users/Chris--S/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T11:22:18Z","updated_at":"2016-03-03T11:22:18Z","body":"I don't think this is the appropriate place to fix the problem.  We should avoid adding a dependency to session to the auth plugins.\r\n\r\nupdateProfile() & admin_plugin_usermanager::_modifyUser() are the appropriate places.  Both already have session invalidating code.  It sounds like the problem lies there."}}