mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[feature/oauth] Update user_id on the access token
PHPBB3-11673
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user