X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to pass just the pasword in the email notification (https://forum.x-cart.com/showthread.php?t=18991)

mmoskva 01-02-2006 11:16 AM

How to pass just the pasword in the email notification
 
When a customer requests to get an email of their password from the password recovery; how do I get just the password to show up in the email.
Currently I get the username and password to show up in the email. How do I hid the username from displaying in the email?

On the email it displays like this:

Your password information.
Password: david harris15



Code:
Code:


{config_load file="$skin_config"}





{$lng.eml_password_recovery_msg}


Password:
{if $accounts}
{section name=acc_num loop=$accounts}
{$accounts[acc_num].password}
{/section}
{else}
no data was found
{/if}


balinor 01-02-2006 11:20 AM

Quote:

On the email it displays like this:

Your password information.
Password: david harris15

I don't see a username in that message?

mmoskva 01-02-2006 11:57 AM

For some reason it displays the previous passord with the new/changed password.

Can you help me so it only displays the most recient password

Ex:
Your password information is.
Password: david105 harris15

recient password: david105
current password: harris15

balinor 01-02-2006 12:09 PM

I think that is actually sending the passwords for all of the accounts that use that e-mail address......

mmoskva 01-02-2006 12:15 PM

I think that you are right. I see that now.
Do you know how I can have it dispay the current password?

balinor 01-02-2006 12:19 PM

Those are the current passwords, you just have two accounts registered under the same e-mail address. No way to differentiate between the two, as X-Cart is using the e-mail address to send the passwords.

mmoskva 01-02-2006 12:33 PM

I deleated an account and it worked.

I noticed something though. In the registration if I get a user to accidentially key in the same email address and a previous customer
Ex. keyed in 123@hotmail.com instead of 125@hotmail.com
Their is a duplication sql error that appears for a few seconds and the user with the 123@hotmail.com account takes the new password entered.

Do you know how I can stop that duplication of accounts being created?


All times are GMT -8. The time now is 03:25 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.