Passport req.user returns CastError: Cast to ObjectId failed for value “{ _id: 'me', active: true }” at path “_id” for model “user”

后端 未结 0 799
独厮守ぢ
独厮守ぢ 2021-01-16 05:25

i\'m trying to do the users login persistent with Passport, actually i can login in my app, but when i try to persist the login using req.user, in the client console it ret

相关标签:
回答
  • 消灭零回复
提交回复
热议问题