{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4891","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4891/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4891/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4891/events","html_url":"https://github.com/silverstripe/silverstripe-framework/issues/4891","id":124955043,"number":4891,"title":"Member.session_regenerate_id not working","user":{"login":"gavro","id":467366,"avatar_url":"https://avatars.githubusercontent.com/u/467366?v=3","gravatar_id":"","url":"https://api.github.com/users/gavro","html_url":"https://github.com/gavro","followers_url":"https://api.github.com/users/gavro/followers","following_url":"https://api.github.com/users/gavro/following{/other_user}","gists_url":"https://api.github.com/users/gavro/gists{/gist_id}","starred_url":"https://api.github.com/users/gavro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavro/subscriptions","organizations_url":"https://api.github.com/users/gavro/orgs","repos_url":"https://api.github.com/users/gavro/repos","events_url":"https://api.github.com/users/gavro/events{/privacy}","received_events_url":"https://api.github.com/users/gavro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-01-05T12:06:29Z","updated_at":"2016-01-06T02:16:44Z","closed_at":"2016-01-06T02:16:44Z","body":"Since some time now there has been a deprecation warning on Member::set_session_regenerate_id(). The method warns that you should use the config setting Member.session_regenerate_id (and the function uses a config()-call to set this value).\r\n\r\nThe problem is that Member::session_regenerate_id() is checking this value against the private static var $session_regenerate_id (```if(!self::$session_regenerate_id) return;```). This value cannot be changed, as the set_session_regenerate_id() function sets the value in the config and not in the private static var, but this value is never read.\r\n\r\nThere is now way to change this value. Or am I missing something?"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/169199292","html_url":"https://github.com/silverstripe/silverstripe-framework/issues/4891#issuecomment-169199292","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4891","id":169199292,"user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T02:16:43Z","updated_at":"2016-01-06T02:16:43Z","body":"Fixed with https://github.com/silverstripe/silverstripe-framework/issues/4893"}}