Skip to content

Conversation

alirealasad
Copy link

removed user.token = user.generateJWT(); line from this module because it's doing nothing and user.toAuthJSON() already had a user.generateJWT() inside that function https://github.com/gothinkster/node-express-realworld-example-app/blob/master/models/User.js#L46

 removed user.token = user.generateJWT(); line from this module  because it's doing nothing and user.toAuthJSON() already had a user.generateJWT() inside that function https://github.com/gothinkster/node-express-realworld-example-app/blob/master/models/User.js#L46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant