diff options
author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-29 16:28:12 -0400 |
---|---|---|
committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-29 16:29:12 -0400 |
commit | e53ebb1b68494690749472378de1044d31645f17 (patch) | |
tree | 86d99be1275dbab417a959a5b018a55c9ebaca4e | |
parent | e91b73e62d32a031625651133a51e9310cfcadbf (diff) | |
download | forums-e53ebb1b68494690749472378de1044d31645f17.tar forums-e53ebb1b68494690749472378de1044d31645f17.tar.gz forums-e53ebb1b68494690749472378de1044d31645f17.tar.bz2 forums-e53ebb1b68494690749472378de1044d31645f17.tar.xz forums-e53ebb1b68494690749472378de1044d31645f17.zip |
[feature/oauth] Update user_id on the access token
PHPBB3-11673
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index 4266a8de0d..cfeee94439 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -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']); } } |