mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Update user agent info when autologin
This commit is contained in:
parent
555f5b6017
commit
ae2e8d6674
1 changed files with 2 additions and 0 deletions
|
|
@ -2220,6 +2220,7 @@ class MemberController extends Member
|
|||
$args->autologin_key = $autologin_key;
|
||||
$args->security_key = $new_hash;
|
||||
$args->previous_key = $output->data->security_key;
|
||||
$args->user_agent = json_encode(Rhymix\Framework\UA::getBrowserInfo());
|
||||
$update_output = executeQuery('member.updateAutologin', $args);
|
||||
if ($update_output->toBool())
|
||||
{
|
||||
|
|
@ -2230,6 +2231,7 @@ class MemberController extends Member
|
|||
{
|
||||
$args = new stdClass;
|
||||
$args->autologin_key = $autologin_key;
|
||||
$args->user_agent = json_encode(Rhymix\Framework\UA::getBrowserInfo());
|
||||
$update_output = executeQuery('member.updateAutologin', $args);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue