-
Notifications
You must be signed in to change notification settings - Fork 0
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
Some fields namely password need to be hashed #52
Comments
Passwords need to be hashed when they are inserted into the Database. |
@nelsonic yep realised, though maybe with asynchronous validation functions we could use the compare method of bcrypt with a db request could be useful to validate the login request with joi? See progress of async extensions (could be also be used for checking username unique etc) but yes original proposal flawed! |
Note columns in db storing hashes need to be of length 60char |
Use bcrypt to hash fields before saving confidential information which should not be stored in db like password.
Have functionality to hash any payload based on fields config but have put on shelf. #58
Now will only hash "password" field before saying as our sole means of verification.
The text was updated successfully, but these errors were encountered: