mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
Resend autologin key periodically to maintain useful lifetime
This commit is contained in:
parent
e8ea70fdca
commit
87300c9944
2 changed files with 13 additions and 14 deletions
|
|
@ -2233,6 +2233,10 @@ class MemberController extends Member
|
|||
$args->autologin_key = $autologin_key;
|
||||
$args->user_agent = json_encode(Rhymix\Framework\UA::getBrowserInfo());
|
||||
$update_output = executeQuery('member.updateAutologin', $args);
|
||||
if ($update_output->toBool())
|
||||
{
|
||||
Rhymix\Framework\Session::setAutologinKeys($autologin_key, $security_key);
|
||||
}
|
||||
}
|
||||
|
||||
// Update the last login time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue