[eluser]xwero[/eluser]
I think the problem is your callback. I guess it's a method of your model.
I've read in a thread the function must be defined in your controller to make the callback work.
I think the easiest way to solve this is to extend the Validation library with a check_login method because you are going to use it on most of your pages. And call the check method from the model there.
I'm busy hacking the validation library to make it validate more input (file and post values), display different error messages for the same rule and instead of callbacks for model methods there will be a catch all model rule.
Code:
$rules['password'] = 'model[Modelname,modelmethod,additional,parameters]';
I've been thinking and rethinking it for some time now but now i have an idea on how to do it so i hope to show the hacked library soon.