We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The standard bcrypt module doesn't play nicely with Windows. For people that want to kick the tires on this application some suggested modifications:
Replace bcrypt with bcrypt-nodejs
bcrypt
bcrypt-nodejs
In the User.js model update the beforeCreate function to include null as the third parameter:
beforeCreate
beforeCreate: function(values, next) { bcrypt.genSalt(10, function(err, salt) { if (err) return next(err); bcrypt.hash(values.password, salt, null, function(err, hash) { if (err) return next(err); values.encryptedPassword = hash; next(); }); }); },
The text was updated successfully, but these errors were encountered:
If that fixes it for everybody, you could write a PR to fix that.
Sorry, something went wrong.
I can create a PR. The register/login/logout seemed to work well, but the messaging functionality did not.
Don't currently have a unix machine to ensure that it's a fix for everyone.
No branches or pull requests
The standard bcrypt module doesn't play nicely with Windows. For people that want to kick the tires on this application some suggested modifications:
Replace
bcrypt
withbcrypt-nodejs
In the User.js model update the
beforeCreate
function to include null as the third parameter:The text was updated successfully, but these errors were encountered: