I am trying to built an log in API but getting a a “invalid user or password” error while testing. I have checked the database and user and password is correct and exists and correct.
I have attached the log in view code and the error as a PNG format below:
And here is the error:
How do I solve this issue ?
I have checked database and user exists and I also printed user and password in terminal and the user and password are correct but I still keep getting the error.
Subhajit Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1