aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-06-17 09:59:57 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-06-17 09:59:57 +0200
commit951b097761d7e5f989008b7166b74b8a8fb12615 (patch)
tree15611637e4932bae5654aa11c233cd3480a2262a
parent46ea774950dc7e2aa1edfcf88d2c8f672a57dfb9 (diff)
parentbba9de8c9cdcb612936e165150e1440c188c8d3e (diff)
downloadforums-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
-rw-r--r--phpBB/phpbb/auth/provider/oauth/oauth.php2
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);