Error logging in. The username or password does not match
View Single Post
So looks like the query returns 0 result,
Lets start looking at your code:
First are you sure that this condition is true for your user:
Also did you use
to encrypt the password in registration?