TerryK Posted February 27, 2004 Share Posted February 27, 2004 I'm working on the password_forgotten.php page and see that it generates a new password if a customer can't remember the password they used to create their account. Is there a reason why that can't be set to send them their ORIGINAL password instead of generating a new one? After all, isn't the password retained in the database (albeit in encrypted form)? Is there a way it could be set up to send their original password? Would love someone to shed some light on this for me. TIA, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
TerryK Posted February 27, 2004 Author Share Posted February 27, 2004 Also, I'd like to include a link to my site's login page in the mail message. In /catalog/includes/languages/password_forgotten.php, the current language definition is: define('EMAIL_PASSWORD_REMINDER_BODY', 'A new password was requested from ' . $REMOTE_ADDR . '.' . "\n\n" . 'Your new password to \'' . STORE_NAME . '\' is:' . "\n\n" . ' %s' . "\n\n"); Can anyone tell me how to add the login.php link to that? TIA, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. * Link to comment Share on other sites More sharing options...
Mark Evans Posted February 27, 2004 Share Posted February 27, 2004 Is there a reason why that can't be set to send them their ORIGINAL password instead of generating a new one? Yes there is a reason :) The resaon being is the password is encrpyted with an md5 hash which is a 1 way encryption. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.