bradtraversy / meanauthapp

Complete MEAN stack app with authentication
242 stars 152 forks source link

Update passport.js (Authenticate ) #51

Closed Sourav59580 closed 4 years ago

Sourav59580 commented 4 years ago

sir, the first mistake was database.js and passport.js in the same directory. and second, use "jwt_payload._id" instead of "jwt_payload.data._id".