mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/oauth] Fix last typo. Authentication works for accounts in db
PHPBB3-11673
This commit is contained in:
parent
5fa08b92a2
commit
38d4eb073e
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base
|
||||||
'provider' => $service_name,
|
'provider' => $service_name,
|
||||||
'oauth_provider_id' => $unique_id
|
'oauth_provider_id' => $unique_id
|
||||||
);
|
);
|
||||||
$sql = 'SELECT user_id FROM' . $this->auth_provider_oauth_token_account_assoc . '
|
$sql = 'SELECT user_id FROM ' . $this->auth_provider_oauth_token_account_assoc . '
|
||||||
WHERE ' . $this->db->sql_build_array('SELECT', $data);
|
WHERE ' . $this->db->sql_build_array('SELECT', $data);
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
$row = $this->db->sql_fetchrow($result);
|
$row = $this->db->sql_fetchrow($result);
|
||||||
|
|
Loading…
Add table
Reference in a new issue