From 00544ff100048afdb7ccb1905304dddf8ab3205a Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Tue, 5 Jan 2016 22:31:58 +0000 Subject: [PATCH] FIX session_regenerate_id uses config system --- security/Member.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Member.php b/security/Member.php index fa19ff2de..c7fe84abd 100644 --- a/security/Member.php +++ b/security/Member.php @@ -359,7 +359,7 @@ class Member extends DataObject implements TemplateGlobalProvider { * quirky problems (such as using the Windmill 0.3.6 proxy). */ public static function session_regenerate_id() { - if(!self::$session_regenerate_id) return; + if(!self::config()->session_regenerate_id) return; // This can be called via CLI during testing. if(Director::is_cli()) return;