python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How can I add bcryptjs to this code to encrypt passwords?
Sorry but enter code hereI can't make mongo database shows me the passwords encrypted and when I changed directly from the body the login doesn't work. How can I modify this code to encrypt passwords ...
Aaron Rodriguez
Votes: 0
Answers: 1
How can I fix (node:14000) UnhandledPromiseRejectionWarning: Error: Expected "payload" to be a plain object. ...at validate?
I am relatively new to Promises, jwt, and bcryptjs, and I am developing an API with a custom user authentication which is supposed to check if a user with a unique email exists, if not responds within...
Klem Lloyd Mwenya
Votes: 0
Answers: 0
bcrypt fails even when passwords match...>
Having problem with comparing passwords using bcryptjs.
Env:
Node: v16.8.0
bcryptjs: 2.4.3
https: 1.0.0 - (the site / pages are all https in case that makes any difference).
This is what the code look...
Mickael_E
Votes: 0
Answers: 2
Bcryptjs always return false
Hi, I am trying to use the bcriptjs library to compare the encrypted password with the database password.
I am using the "compare" method.
The values that I add to the method are:
First,...
Pablo Martínez
Votes: 0
Answers: 1