mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 09:22:01 +02:00
Merge pull request #5597 from senky/ticket/16065
[ticket/16065] Add user_ip to SQL query
This commit is contained in:
@ -264,7 +264,7 @@ class oauth extends \phpbb\auth\provider\base
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Retrieve the user's account
|
// 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 . '
|
FROM ' . $this->users_table . '
|
||||||
WHERE user_id = ' . (int) $row['user_id'];
|
WHERE user_id = ' . (int) $row['user_id'];
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
|
Reference in New Issue
Block a user