Change node bcrypt package from bcrypt-nodejs to bcrypt. Change response message on invalid username/pass and changed to bcrypt syntax for compare and hash.

This commit is contained in:
2019-07-24 22:54:04 +02:00
parent 3f04d9bc56
commit 8a5ab204e1
2 changed files with 46 additions and 47 deletions

View File

@@ -15,7 +15,7 @@
},
"dependencies": {
"axios": "^0.18.0",
"bcrypt-nodejs": "^0.0.3",
"bcrypt": "^3.0.6",
"body-parser": "~1.18.2",
"cross-env": "~5.1.4",
"express": "~4.16.0",