1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[feature/oauth] Fixes for problems found by tests

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-24 16:02:33 -04:00
parent c5d2b75022
commit f8dbaa148d
2 changed files with 7 additions and 7 deletions

View File

@ -187,7 +187,7 @@ class phpbb_auth_provider_oauth_token_storage implements TokenStorageInterface
$sql = 'DELETE FROM ' . $this->auth_provider_oauth_table . ' $sql = 'DELETE FROM ' . $this->auth_provider_oauth_table . '
WHERE user_id = ' . $this->user->data['user_id'] . ' WHERE user_id = ' . $this->user->data['user_id'] . '
AND provider = ' . $this->db->sql_escape($this->oauth_provider); AND provider = \'' . $this->db->sql_escape($this->oauth_provider) . '\'';
if ($this->user->data['user_id'] == ANONYMOUS) if ($this->user->data['user_id'] == ANONYMOUS)
{ {