[geeklog-cvs] geeklog-1.3/public_html usersettings.php,1.101,1.102
dhaun at iowaoutdoors.org
dhaun at iowaoutdoors.org
Sat Aug 28 11:55:36 EDT 2004
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv319
Modified Files:
usersettings.php
Log Message:
Fixed bug that reset every user's password request id as soon as some user changed their account information (bug #265).
Index: usersettings.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/usersettings.php,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** usersettings.php 14 Aug 2004 15:52:17 -0000 1.101
--- usersettings.php 28 Aug 2004 15:55:33 -0000 1.102
***************
*** 157,162 ****
$reqid = substr (md5 (uniqid (rand (), 1)), 1, 16);
! DB_change ($_TABLES['users'], 'pwrequestid', "$reqid",
! 'username', $username);
$preferences->set_var ('about_value', htmlspecialchars ($A['about']));
--- 157,161 ----
$reqid = substr (md5 (uniqid (rand (), 1)), 1, 16);
! DB_change ($_TABLES['users'], 'pwrequestid', $reqid, 'uid', $_USER['uid']);
$preferences->set_var ('about_value', htmlspecialchars ($A['about']));
More information about the geeklog-cvs
mailing list