From bd316f9c486bc6d62396775f88e3eb34b36b9b4a Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 23 Feb 2009 18:00:04 +0000 Subject: [PATCH] Log password changes via password reset function. #41365 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9340 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/ucp/ucp_activate.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 7329fc1449..2278d7d508 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -102,6 +102,7 @@
  • [Fix] Add missing anti-abuse email headers to acp_inactive.php and ucp_resend.php.
  • [Fix] Only remind users in the correct inactive states depending on the board account activation level.
  • [Fix] Topic print view XHTML error. (Bug #41745)
  • +
  • [Fix] Log password changes via password reset function. (Bug #41365)
  • [Change] Allow download of conflicting file for later reference in automatic updater
  • [Change] Default difference view is now 'inline' instead of 'side by side'
  • [Change] Added new option for merging differences to conflicting files in automatic updater
  • diff --git a/phpBB/includes/ucp/ucp_activate.php b/phpBB/includes/ucp/ucp_activate.php index ad9dcc3659..f8aeb2297a 100644 --- a/phpBB/includes/ucp/ucp_activate.php +++ b/phpBB/includes/ucp/ucp_activate.php @@ -72,6 +72,8 @@ class ucp_activate SET ' . $db->sql_build_array('UPDATE', $sql_ary) . ' WHERE user_id = ' . $user_row['user_id']; $db->sql_query($sql); + + add_log('user', $user_row['user_id'], 'LOG_USER_NEW_PASSWORD', $user_row['username']); } if (!$update_password)