mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #4893 from dhensby/pulls/member-regenerate-session-id
FIX session_regenerate_id uses config system
This commit is contained in:
commit
21e1e938eb
@ -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