Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -214,12 +214,12 @@ class _Front extends \IPS\Session
|
||||
{
|
||||
/* Authenticate */
|
||||
$device = \IPS\Member\Device::loadAndAuthenticate( \IPS\Request::i()->cookie['device_key'], $member, \IPS\Request::i()->cookie['login_key'] );
|
||||
|
||||
/* Set member in session */
|
||||
$this->member = $member;
|
||||
|
||||
/* Refresh the device key cookie */
|
||||
\IPS\Request::i()->setCookie( 'device_key', \IPS\Request::i()->cookie['device_key'], ( new \IPS\DateTime )->add( new \DateInterval( 'P1Y' ) ) );
|
||||
|
||||
/* Set member in session */
|
||||
$this->member = $member;
|
||||
|
||||
$member->recordLogin();
|
||||
$member->achievementAction( 'core', 'SessionStartDaily' );
|
||||
|
||||
Reference in new issue
Block a user