diff --git a/unit_02/w06d04/homework/README.md b/unit_02/w06d04/homework/README.md index 5686710..b4e418a 100644 --- a/unit_02/w06d04/homework/README.md +++ b/unit_02/w06d04/homework/README.md @@ -72,7 +72,13 @@ When a user goes to the welcome page, if they do not have a name set in sessions "Commit 7: The user has a custom page or is redirected to the login if their name isn't set to the session. "
+FROM MATT"S LESSON +Install and reqire `bcrypt` +Hash a string using bcrypt. + +Reminder on how to has a password string using bcrypt: +`req.session.password = bcrypt.hashSync(req.params.password, bcrypt.genSaltSync(10));` ////////////////////////////////////////////