diff --git a/security/Member.php b/security/Member.php index 95234a361..b87063356 100644 --- a/security/Member.php +++ b/security/Member.php @@ -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)