Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help with password by email script


alleyesonme

Recommended Posts

Posted

hi guys, im running 2.2 ms2, i have installed the script for randomly generated password on signup, however after a lot of head scratching hair pulling and searchin im struggling, it send the password out which is fine but no password is generated so its just blank ????

 

i believe this is the code that generates the password?

 

$email_text .= EMAIL_WELCOME . EMAIL_USERNAME . 'Your password is: <b>' . stripslashes($plain_pass) . '</b>' . "nn" . EMAIL_TEXT . EMAIL_CONTACT

 

what is stripslashes? any help would be much appreciated, oh btw once an account is created and email sent without the password, u can however goto forgotten password and this sends a new random one out, but i believe the forgotten password is a diff script.

 

cheers

Posted
i believe this is the code that generates the password?
Nope. That code just prepares the text for the email to send the password. If it is not getting generated previous to that, $plain_pass would default to being blank.

 

Good luck,

Matt

Posted

I would love to use this contrib but in my clean install of MS2 there is no create_account_process.php. Is there an update for this contrib.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...