Closed Shahidbis closed 8 years ago
findOne always returns first record from my DB. When i print jwt_payload.sub in console, it sayd jwt_payload.sub is undefined. can somebody help understanding this?
Some issue too. jwtPayload variable from example is smth like this: { iat: 1475587832 }
jwtPayload
{ iat: 1475587832 }
Fixed it. Thanks for your comment @zombiQWERTY
findOne always returns first record from my DB. When i print jwt_payload.sub in console, it sayd jwt_payload.sub is undefined. can somebody help understanding this?