Skip to content

login error msg is not accurate #220

@jmikerq

Description

@jmikerq

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.';

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions