mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[feature/oauth] Update user_id on the access token
PHPBB3-11673
This commit is contained in:
parent
e91b73e62d
commit
e53ebb1b68
1 changed files with 3 additions and 0 deletions
|
@ -409,5 +409,8 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
|||
$sql = 'INSERT INTO ' . $this->auth_provider_oauth_token_account_assoc . '
|
||||
' . $this->db->sql_build_array('INSERT', $data);
|
||||
$this->db->sql_query($sql);
|
||||
|
||||
// Update token storage to store the user_id
|
||||
$storage->set_user_id($link_data['user_id']);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue