mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 20:56:40 +02:00
Merge pull request #67 from phpbb/ticket/security-274
[ticket/security/274] Reset login keys/session when resetting password
This commit is contained in:
@ -415,6 +415,7 @@ class reset_password
|
||||
SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . '
|
||||
WHERE user_id = ' . (int) $user_row['user_id'];
|
||||
$this->db->sql_query($sql);
|
||||
$this->user->reset_login_keys();
|
||||
$this->log->add('user', $user_row['user_id'], $this->user->ip, 'LOG_USER_NEW_PASSWORD', false, [
|
||||
'reportee_id' => $user_row['user_id'],
|
||||
$user_row['username']
|
||||
|
Reference in New Issue
Block a user