ed-roh/mern-social-media

auth/register and login not working

Pukhraj85 opened this issue · 1 comments

Screenshot from 2023-01-06 20-04-08
Hello! When I try to log in I get this error: "POST http://localhost:3001/auth/login 400 (Bad Request) Form.jsx:82". I did not change any of the backend code and I connected to mongodb, I even put your predefined users and posts in collections and tried one of them to log in and it is not working. What should I do?

@Pukhraj85 how did you resolved this error