Guest Posted May 2, 2008 Posted May 2, 2008 I am running 2.2rc1 When the customer clicks "forgotton" password, they do receive an email that says "Your new password to 'Moorestown Business Association' is: and that's it! no password. Also, under the admin section, I cannot see how to change the customer's password. Any help is appreciated. Randy
prafulkr Posted May 2, 2008 Posted May 2, 2008 I am running 2.2rc1When the customer clicks "forgotton" password, they do receive an email that says "Your new password to 'Moorestown Business Association' is: and that's it! no password. Also, under the admin section, I cannot see how to change the customer's password. Any help is appreciated. Randy How to retrive Password is set in "password_forgotten.php" file. line number 24 and 25 is used for creating new password and encripted password. Line no. 27 is used to set new password. hole line is as follows: tep_db_query("update " . TABLE_CUSTOMERS . " set customers_password = '" . tep_db_input($crypted_password) . "' where customers_id = '" . (int)$check_customer['customers_id'] . "'"); tep_mail($check_customer['customers_firstname'] . ' ' . $check_customer['customers_lastname'], $email_address, EMAIL_PASSWORD_REMINDER_SUBJECT, sprintf(EMAIL_PASSWORD_REMINDER_BODY, $new_password), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); you may print this on your browser then you find the new password if it appears on ur browser then match with database is it same or not. When I was born, I was cryed and everyone around me was smiling. Live our life so at the end, I am the one who is smiling and everyone around me is crying.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.