![]() |
Recover Password By Email Or Username
his code change for X-Cart 4.4.x+ will allow your customers to recover their lost account information by Email or Username instead of one or the other.
Open /skin/common_files/help/Password_Recovery.tpl Find: Code:
{$login_field_name}Replace with: Code:
Email or UsernameFind: Code:
$account = func_query_first("SELECT id, login, password, email, usertype FROM $sql_tbl[customers] WHERE login='$username' AND usertype='$utype' AND status='Y'");Code:
// WCM - Search by email if username doesn't match |
| All times are GMT +8. The time now is 10:39 PM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.