mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 08:53:05 +02:00
[ticket/17127] Do not purge guest sessions when resetting password
PHPBB3-17127
This commit is contained in:
@ -415,7 +415,7 @@ class reset_password
|
|||||||
SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . '
|
SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . '
|
||||||
WHERE user_id = ' . (int) $user_row['user_id'];
|
WHERE user_id = ' . (int) $user_row['user_id'];
|
||||||
$this->db->sql_query($sql);
|
$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, [
|
$this->log->add('user', $user_row['user_id'], $this->user->ip, 'LOG_USER_NEW_PASSWORD', false, [
|
||||||
'reportee_id' => $user_row['user_id'],
|
'reportee_id' => $user_row['user_id'],
|
||||||
$user_row['username']
|
$user_row['username']
|
||||||
|
Reference in New Issue
Block a user