mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Refactored [47068]: Member::logOut now calls memberLoggedOut on any extensions on Member.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60498 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ec9bcf337d
commit
5be532e96d
@ -235,6 +235,8 @@ class Member extends DataObject {
|
|||||||
Session::clear("loggedInAs");
|
Session::clear("loggedInAs");
|
||||||
self::session_regenerate_id();
|
self::session_regenerate_id();
|
||||||
|
|
||||||
|
$this->extend('memberLoggedOut');
|
||||||
|
|
||||||
$this->RememberLoginToken = null;
|
$this->RememberLoginToken = null;
|
||||||
Cookie::set('alc_enc', null);
|
Cookie::set('alc_enc', null);
|
||||||
Cookie::forceExpiry('alc_enc');
|
Cookie::forceExpiry('alc_enc');
|
||||||
|
Loading…
Reference in New Issue
Block a user