From eacf9b153900dbfabe74c16c343cd27756b7c551 Mon Sep 17 00:00:00 2001 From: hbinded Date: Mon, 28 Sep 2015 20:48:17 +0200 Subject: [PATCH] Fix wrong password message This fixes a non existing error message if all authentication methods fail. Line 352 is calling
aauth_error_login_failed
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). --- application/libraries/Aauth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index 0964335..3c50650 100644 --- a/application/libraries/Aauth.php +++ b/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 */ \ No newline at end of file +/* Location: ./application/libraries/Aauth.php */