CodeIgniter-Aauth
CodeIgniter-Aauth copied to clipboard
login error msg is not accurate
In the case where I use only email to login, and if the password doesn't match, the error msg return is:
aauth_error_login_failed_all: E-mail, Username or Password do not match.
you can find this at line 298 in the stable version
$this->error($this->CI->lang->line('aauth_error_login_failed_all'));
I think the login function should check whether user is using email only, user only, or allowing both, and then return the correct error msg.
In my case, it should return
$lang['aauth_error_login_failed_email'] = 'E-mail Address and Password do not match.';
I agree with this but i gone change this in v3.0.0