Skip to content

Commit

Permalink
Fix wrong password message
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
hbinded committed Sep 28, 2015
1 parent 26a187b commit eacf9b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function login($identifier, $pass, $remember = FALSE, $totp_code = NULL)
// 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;
}
}
Expand Down Expand Up @@ -2391,4 +2391,4 @@ functions added


/* End of file Aauth.php */
/* Location: ./application/libraries/Aauth.php */
/* Location: ./application/libraries/Aauth.php */

0 comments on commit eacf9b1

Please sign in to comment.