[ticket/15881] Reset login keys for account reactivation after password update

PHPBB3-15881
This commit is contained in:
rxu 2018-11-24 11:31:32 +07:00
parent 5179e4f93f
commit 79e6636092
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -87,6 +87,8 @@ class ucp_activate
WHERE user_id = ' . $user_row['user_id'];
$db->sql_query($sql);
$user->reset_login_keys($user_row['user_id']);
$phpbb_log->add('user', $user->data['user_id'], $user->ip, 'LOG_USER_NEW_PASSWORD', false, array(
'reportee_id' => $user_row['user_id'],
$user_row['username']