1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-09 02:12:44 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2019-06-17 10:00:52 +02:00
commit 93c1061f17

View File

@ -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);