diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 09:59:57 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-06-17 09:59:57 +0200 |
commit | 951b097761d7e5f989008b7166b74b8a8fb12615 (patch) | |
tree | 15611637e4932bae5654aa11c233cd3480a2262a /phpBB/phpbb/auth/provider/oauth/oauth.php | |
parent | 46ea774950dc7e2aa1edfcf88d2c8f672a57dfb9 (diff) | |
parent | bba9de8c9cdcb612936e165150e1440c188c8d3e (diff) | |
download | forums-951b097761d7e5f989008b7166b74b8a8fb12615.tar forums-951b097761d7e5f989008b7166b74b8a8fb12615.tar.gz forums-951b097761d7e5f989008b7166b74b8a8fb12615.tar.bz2 forums-951b097761d7e5f989008b7166b74b8a8fb12615.tar.xz forums-951b097761d7e5f989008b7166b74b8a8fb12615.zip |
Merge pull request #5597 from senky/ticket/16065
[ticket/16065] Add user_ip to SQL query
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth/oauth.php')
-rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index 5e8cb3dea8..1a3083d42e 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -264,7 +264,7 @@ class oauth extends \phpbb\auth\provider\base } // Retrieve the user's account - $sql = 'SELECT user_id, username, user_password, user_passchg, user_email, user_type, user_login_attempts + $sql = 'SELECT user_id, username, user_password, user_passchg, user_email, user_ip, user_type, user_login_attempts FROM ' . $this->users_table . ' WHERE user_id = ' . (int) $row['user_id']; $result = $this->db->sql_query($sql); |