Skip to content
New issue

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

Password hash #65

Merged
merged 5 commits into from
Sep 12, 2018
Merged

Password hash #65

merged 5 commits into from
Sep 12, 2018

Conversation

jrans
Copy link
Member

@jrans jrans commented Sep 29, 2016

THIS PR

Assumes password field exists when inserting new user data. Hashes the password field entry with bcrypt. #52

I feel #58 is a much better approach as this way to hardcoded for my liking and going against the flow of things but this is the MVP solution

Integration branch #64 has used the old solution.

Note the hashing on inserts has meant that promises aren't returned from db.insert so the cb method must be used here unless we want to promisify bcrypt.

@codecov-io
Copy link

Current coverage is 100% (diff: 100%)

Merging #65 into master will not change coverage

@@           master   #65   diff @@
===================================
  Files          10    10          
  Lines         180   198    +18   
  Methods        39    42     +3   
  Messages        0     0          
  Branches       26    28     +2   
===================================
+ Hits          180   198    +18   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update 593dcec...6348c5c

@nelsonic nelsonic removed their assignment Jan 12, 2017
Copy link
Member

@nelsonic nelsonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work @jrans! thanks! 🎉
hope your week is going well. ✨

@nelsonic nelsonic merged commit a0fff25 into master Sep 12, 2018
@nelsonic nelsonic deleted the password-hash branch September 12, 2018 05:21
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.

3 participants