|
From: Benjamin C. <bc...@us...> - 2001-08-25 18:37:43
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv13146
Modified Files:
include.php
Log Message:
Third time's the charm
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- include.php 2001/08/25 18:31:27 1.41
+++ include.php 2001/08/25 18:37:39 1.42
@@ -452,7 +452,7 @@
if (ENCRYPTPASS) {
$password = genpassword(10);
$mpassword = md5($password);
- $q->query("update user set password = '$mpassword' where login = '$username'");
+ $q->query("update auth_user set password = '$mpassword' where login = '$username'");
}
mail($email, $STRING['newacctsubject'], sprintf($STRING['newacctmessage'],
$password), 'From: '.ADMINEMAIL);
|