aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-02-23 18:00:04 +0000
committerChris Smith <toonarmy@phpbb.com>2009-02-23 18:00:04 +0000
commitbd316f9c486bc6d62396775f88e3eb34b36b9b4a (patch)
tree3a808b38cd9c44f5e911cde5dee9d3b0192039e8
parent52d0f2fa3c575df32c64bb0c0dddfbd62dc88afb (diff)
downloadforums-bd316f9c486bc6d62396775f88e3eb34b36b9b4a.tar
forums-bd316f9c486bc6d62396775f88e3eb34b36b9b4a.tar.gz
forums-bd316f9c486bc6d62396775f88e3eb34b36b9b4a.tar.bz2
forums-bd316f9c486bc6d62396775f88e3eb34b36b9b4a.tar.xz
forums-bd316f9c486bc6d62396775f88e3eb34b36b9b4a.zip
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
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/ucp/ucp_activate.php2
2 files changed, 3 insertions, 0 deletions
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 @@
<li>[Fix] Add missing anti-abuse email headers to acp_inactive.php and ucp_resend.php.</li>
<li>[Fix] Only remind users in the correct inactive states depending on the board account activation level.</li>
<li>[Fix] Topic print view XHTML error. (Bug #41745)</li>
+ <li>[Fix] Log password changes via password reset function. (Bug #41365)</li>
<li>[Change] Allow download of conflicting file for later reference in automatic updater</li>
<li>[Change] Default difference view is now 'inline' instead of 'side by side'</li>
<li>[Change] Added new option for merging differences to conflicting files in automatic updater</li>
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)