You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constgetUser=(value)=>connection.query('select * from users where email = $1 and password = $2',[value.email,value.password]);
I see that you used this query to sign in, but this is incorrect.
Your log in query should check to return the user data that matches the entered email only.
The text was updated successfully, but these errors were encountered:
PalB/server/database/queries/getUser.js
Line 3 in 9ded714
I see that you used this query to sign in, but this is incorrect.
Your log in query should check to return the user data that matches the entered email only.
The text was updated successfully, but these errors were encountered: