mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed forceExpiry() usage
This commit is contained in:
parent
8629985115
commit
4cd6d00159
@ -423,7 +423,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
|
||||
$this->RememberLoginToken = null;
|
||||
Cookie::set('alc_enc', null); // // Clear the Remember Me cookie
|
||||
Cookie::forceExpiry('alc_enc');
|
||||
Cookie::force_expiry('alc_enc');
|
||||
|
||||
// Switch back to live in order to avoid infinite loops when
|
||||
// redirecting to the login screen (if this login screen is versioned)
|
||||
|
Loading…
Reference in New Issue
Block a user