mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
When logging out, remove device_key cookie if present #2434
This commit is contained in:
parent
87573ef8e4
commit
ab242e9ebf
1 changed files with 4 additions and 0 deletions
|
|
@ -133,6 +133,10 @@ class MemberController extends Member
|
|||
|
||||
// If a device key is present, unregister it.
|
||||
Rhymix\Modules\Member\Controllers\Device::getInstance()->autoUnregisterDevice($logged_info->member_srl);
|
||||
if (isset($_COOKIE['device_key']))
|
||||
{
|
||||
Rhymix\Framework\Cookie::remove('device_key');
|
||||
}
|
||||
|
||||
// Set redirect URL.
|
||||
$output = new BaseObject();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue