"E_MISSING_DATABASE_ROW" Issue

hi guys, i need help
why do i keep getting this error when I am trying to fetch the data in my database table…

here’s my code

I am pretty sure i do have a 'password ’ row in my user database.
Kindly help please…

Yeah, but how can you find someone by their password. Passwords are meant to the hashed and you cannot compare a plain password with a hashed password

2 Likes

Also it’s very bad practice to send a response indicating that the password is invalid. Auth failure shouldn’t expose that you have a valid username/email and invalid password, that’s a security flaw. :slight_smile:

3 Likes