mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/security/274] Reset login keys/session when resetting password
SECURITY-274
This commit is contained in:
parent
67c41633a2
commit
827c135cc9
1 changed files with 1 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue