If the username is number example: (123456), I can not login.
help me! thanks
help me! thanks
If you look at line 57 of users/classes/Users.php you’ll see that if the username is numeric, it is looking in the id field.
Change that to username.
This is an oldie but a goodie!
I have patched this in 4.3.14. This should be released shortly.
The patch was to add an optional parameter on the find function within the Users class, and pass that parameter via the loginEmail function called from login.php and ignore the number. This was so hard to patch because the find function is used to capture the ID to use for the $user calls – so it failed after trying to find the User.