Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with "forgot password" and charset.


poj

Recommended Posts

Dear All

I've got problem with "forgot password" function. After my customer ask for new password from my shop. They will get new password via E-mail which is unreadable.

 

I use Thai language for my shop therefore I have to change charset from iso-xxx to windows-874,so Thai language can be readable via E-mail. It affects the new password which is generated and encrypted by OScommerce too, turn out to be something which can't read or understand.

 

How to solve this problem?

Can OScommerce generate new password in digit (0-9) only?

Please help, Thank you.

Link to comment
Share on other sites

Alternatively, in order to keep a more random selection of characters, the call for a new password should surely be

 

 

$newpass = tep_create_random_value(ENTRY_PASSWORD_MIN_LENGTH,'mixed');

 

rather than what it is in v2.2

 

$newpass = tep_create_random_value(ENTRY_PASSWORD_MIN_LENGTH);

 

:idea:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...