Browse Source

Fix wrong password message

This fixes a non existing error message if all authentication methods fail. Line 352 is calling <pre>aauth_error_login_failed</pre> but that is not in the lang line. This fix tries to match the naming used by the OP i.e. aauth_error_login_failed_xxx where xxx is the error (email/password).
develop
hbinded 10 years ago
parent
commit
eacf9b1539
  1. 4
      application/libraries/Aauth.php

4
application/libraries/Aauth.php

@ -349,7 +349,7 @@ class Aauth {
// if not matches
else {
$this->error($this->CI->lang->line('aauth_error_login_failed'));
$this->error($this->CI->lang->line('aauth_error_login_failed_all'));
return FALSE;
}
}
@ -2391,4 +2391,4 @@ return FALSE;
/* End of file Aauth.php */
/* Location: ./application/libraries/Aauth.php */
/* Location: ./application/libraries/Aauth.php */

Loading…
Cancel
Save