mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX session_regenerate_id uses config system
This commit is contained in:
parent
d63441623a
commit
00544ff100
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user