Hello everyone. I am beginner MERN stack. I learn what need and this day try create simple MERN login/register app. I use passportjs for authentication and passport-local-mongoose for plugin database. When I send data using postman all successfully: user loginned registered and logouted. But when I send in frontend I get only currect message in login. But req.user cannot get.
this is my code: https://github.com/Feruz00/travel-mern-app/tree/master
If someone have simple project this method please write comment or send link video or project. Thanks very much!!!
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
hey man did you find the solution to this problem