[eluser]mddd[/eluser]
@clooner: That is not true. You can use $this->input in models just fine.
I do agree with your earlier remark. Gjore.S should check if the provided data comes through correctly.
And, as noctrum says, it would be good to have more information on exactly what goes wrong.
Just saying "it doesn't work" is not enough.
For instance, if there are two records in the database with the correct email address and password, the query will give 2 results.
And therefore login validation will fail. The problem could be in other places than the hash() function or even the entire model.