In my current code when i signup with 2 users and login with one its works fine but when i logout and login with other user then the data for previous user only is showed on profile page …why??
https://github.com/Rahul172000/passport
Inserting 2 users in database
See carefully…in passport_file.js, the object you pass as parameter for findOne is wrong.