Welcome Guest, Not a member yet? Register   Sign In
Users cannot get past login page. Website returns an invalid email/password message.
#10

[eluser]Matias Perrone[/eluser]
People,

I had the same problem, I think the issue is due the "valid_email" function does not allows dots before the @ so, it is defined as follows:

Code:
function valid_email($address)
{
return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $address)) ? FALSE : TRUE;
}

But it should be like this:

Code:
function valid_email($address)
{
return ( ! preg_match("/^([a-z0-9\+_\-\.]+)(\.[a-z0-9\+_\-\.]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $address)) ? FALSE : TRUE;
}

This solves the issue, but in order to do not have problems with future updates create you own helper "MY_email_helper.php" or the prefix you have set instead of "MY_" in the config file.


Messages In This Thread
Users cannot get past login page. Website returns an invalid email/password message. - by El Forum - 10-15-2012, 01:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB