UPDATED!!!!! 2/1/07
Hello,
Well i found another option for this....it works and it's easy....please advise if there are any issues with this fix....
Basically i check email address OR the user alias for the web login....here's how:
change this file:
...../a2customer/lib/module.access.php line 118
FROM
Code:
if (strlen($user)==0 || strlen($user)>=20 || strlen($pass)==0 || strlen($pass)>=20) return false;
TOCode:
if (strlen($user)==0 || strlen($user)>=50 || strlen($pass)==0 || strlen($pass)>=50) return false;
...../a2customer/lib/module.access.php line 120FROMCode:
$QUERY = "SELECT username, credit, activated, id, id_didgroup, tariff, vat, activatedbyuser FROM cc_card WHERE useralias = '".$user."' AND uipass = '".$pass."'";
TOCode:
$QUERY = "SELECT username, credit, activated, id, id_didgroup, tariff, vat, activatedbyuser FROM cc_card WHERE (email = '".$user."' OR useralias = '".$user."') AND uipass = '".$pass."'";
There you have it now a user can login with their email address....