[TEP-COMMIT] [CVS catalog] use new account field value

anonymous-OfajU3CKLf1/[email protected] 22 Jul 2004 21:21:37 -0000
Newsgroups gmane.comp.web.oscommerce.cvs
Message-ID <[email protected]>
Commit in catalog/catalog on MAIN

password_forgotten.php +1 -1 1.52 -> 1.53

use new account field value

----------

catalog /catalog

password_forgotten.php 1.52 -> 1.53

diff -u -r1.52 -r1.53
--- password_forgotten.php 2004/07/22 17:23:53 1.52
+++ password_forgotten.php 2004/07/22 21:21:36 1.53
@@ -21,7 +21,7 @@

if (tep_db_num_rows($check_customer_query)) {
$check_customer = tep_db_fetch_array($check_customer_query);

- $new_password = tep_create_random_value(ENTRY_PASSWORD_MIN_LENGTH);

+ $new_password = tep_create_random_value(ACCOUNT_PASSWORD);

$crypted_password = tep_encrypt_password($new_password);

tep_db_query("update " . TABLE_CUSTOMERS . " set customers_password = '" . tep_db_input($crypted_password) . "' where customers_id = '" . (int)$check_customer['customers_id'] . "'");

CVSspam 0.2.8

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click