How i enable the login or sign in with email/username in version 4.3.3. In this version sign in with email is enable but how to enable both username or email....
In which functions or page i have to modify to do this??
Please help me out from this problem... any help would be appreciated
How i enable the login or sign in with email/username in version 4.3.3. In this version sign in with email is enable but how to enable both username or email....
In which functions or page i have to modify to do this??
Please help me out from this problem... any help would be appreciated
Thanks
Unfortunately, the usernames are not supported since 4.3.1
Yes i know that username is not used from cs cart version 4.3.x... but i have to enable just login o with username or email...so, in which function or page i have to modify??
$user_data = db_get_row("SELECT * FROM ?:users WHERE $field = ?s" . $condition, $user_login);
with
$user_data = db_get_row("SELECT * FROM ?:users WHERE $field = ?s" . $condition, $user_login);
if (empty($user_data)) {
$user_data = db_get_row("SELECT * FROM ?:users WHERE user_login = ?s" . $condition, $user_login);
}
(!) Not tested
Hi eComLabs
I have tried to do that change but is not working for me... it still ask me for mail address as a required field, I´m using cs-cart version 4.3.6, do you know if that mod is suitable for my version??
I have tried to do that change but is not working for me... it still ask me for mail address as a required field, I´m using cs-cart version 4.3.6, do you know if that mod is suitable for my version??
Thanks in advance
Do you mean form? You should remove the cm-email class from the input on the authorization form