some Tank Auth error messages not displaying |
[eluser]Kenneth Vogt[/eluser]
I just installed an authentication library for Codeigniter called Tank Auth (http://www.konyukhov.com/soft/tank_auth/) and I love it. I am having a strange problem however. The only error messages that display are "The X field is required." If I leave the password field blank, I will see "The Password field is required." But if the email and password do not match the database, the screen just refreshes with no error message. I added the following lines to ./application/libraries/Tank_auth.php just to be sure that the error was being captured: Code: 96 $this->error = array('password' => 'auth_incorrect_password'); // this was already there Code: Array ( [password] => auth_incorrect_password ) So we can see that the error is being set. I have included the following line in ./application/config/autoload.php: Code: $autoload['language'] = array('tank_auth'); So what am I doing wrong? |
Welcome Guest, Not a member yet? Register Sign In |