mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix logout bug in admin module
This commit is contained in:
parent
1e532c51a4
commit
31623842ba
2 changed files with 34 additions and 16 deletions
|
|
@ -102,7 +102,6 @@ class memberController extends member
|
|||
|
||||
// Destroy session information
|
||||
Rhymix\Framework\Session::logout();
|
||||
$this->destroySessionInfo();
|
||||
$this->_clearMemberCache($logged_info->member_srl);
|
||||
|
||||
// Call a trigger after log-out (after)
|
||||
|
|
@ -2650,16 +2649,7 @@ class memberController extends member
|
|||
*/
|
||||
function destroySessionInfo()
|
||||
{
|
||||
if (!Rhymix\Framework\Session::isStarted())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Rhymix\Framework\Session::destroy();
|
||||
setcookie(session_name(), '', $_SERVER['REQUEST_TIME']-42000, '/');
|
||||
setcookie('sso','',$_SERVER['REQUEST_TIME']-42000, '/');
|
||||
setcookie('xeak','',$_SERVER['REQUEST_TIME']-42000, '/');
|
||||
setcookie('xe_logged', 'false', $_SERVER['REQUEST_TIME'] - 42000, '/');
|
||||
}
|
||||
|
||||
function _updatePointByGroup($memberSrl, $groupSrlList)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue