mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +09:00
Fix last_login not being updated when autologin is used
This commit is contained in:
parent
49be8be6c0
commit
4ef67f1d00
1 changed files with 4 additions and 0 deletions
|
|
@ -1965,6 +1965,10 @@ class memberController extends member
|
|||
Rhymix\Framework\Session::setAutologinKeys($autologin_key, $new_security_key);
|
||||
}
|
||||
|
||||
// Update the last login time.
|
||||
executeQuery('member.updateLastLogin', (object)['member_srl' => $output->data->member_srl]);
|
||||
$this->_clearMemberCache($args->member_srl);
|
||||
|
||||
// Return the member_srl.
|
||||
return intval($output->data->member_srl);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue