1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-04 13:35:13 +02:00

[ticket/17127] Do not purge guest sessions when resetting password

PHPBB3-17127
This commit is contained in:
rxu 2023-04-07 18:37:57 +07:00
parent 0260fcd6a7
commit 98f6a1a300
No known key found for this signature in database
GPG Key ID: 955F0567380E586A

View File

@ -415,7 +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->user->reset_login_keys($user_row['user_id']);
$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']