From a2aa681f23706a481a9a1e0b042d68a8d9f43da0 Mon Sep 17 00:00:00 2001 From: Kristyn Bryan Date: Thu, 23 Jun 2016 12:11:13 -0400 Subject: [PATCH] Update README.md --- unit_02/w06d04/homework/README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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));` ////////////////////////////////////////////