You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apaichon Punopas edited this page Mar 18, 2018
·
1 revision
Welcome to the node_enterprise wiki!
Prepare security data
Add the api exception data in MongoDB following.
db.exceptionApi.insert({"application": "E-Commerce","module": "security","className": "Authentication","method":"LogIn"})
The password use bcrypt library. Look at how to assign password, the example in comment code of lab4-4 .(index.js)
db.users.insert({"username": "apaichon@hotmail.com","password": "a0$f.2GR0ApNPDeaoq3C.KLkupzZKYXTREBhPFp1DF9RAR5SaPEbfYdK"})