aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_remind.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-04 18:50:25 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-04 18:50:25 +0000
commit760fe6bc66cc5571b220e3a80ddc027ad67b86f3 (patch)
tree85cc3fdacda920243e9bfad58f9e44d4cd65841a /phpBB/includes/ucp/ucp_remind.php
parentc2085565789b4a5858ba9bb1189804b731cb2ab4 (diff)
downloadforums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar
forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.gz
forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.bz2
forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.xz
forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.zip
#i42
new password hashing mechanism for storing passwords git-svn-id: file:///svn/phpbb/trunk@8139 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_remind.php')
-rw-r--r--phpBB/includes/ucp/ucp_remind.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_remind.php b/phpBB/includes/ucp/ucp_remind.php
index b761e772f6..3f2c737045 100644
--- a/phpBB/includes/ucp/ucp_remind.php
+++ b/phpBB/includes/ucp/ucp_remind.php
@@ -67,7 +67,7 @@ class ucp_remind
$user_password = gen_rand_string(8);
$sql = 'UPDATE ' . USERS_TABLE . "
- SET user_newpasswd = '" . $db->sql_escape(md5($user_password)) . "', user_actkey = '" . $db->sql_escape($user_actkey) . "'
+ SET user_newpasswd = '" . $db->sql_escape(phpbb_hash($user_password)) . "', user_actkey = '" . $db->sql_escape($user_actkey) . "'
WHERE user_id = " . $user_row['user_id'];
$db->sql_query($sql);