So here's the code we worked on today. Remember don't fall down the rabbit holes. You're if you're tired, here's the focal points:
- how can I use bcrypt to hash a password?
- How can I use bcrypt to compare a password to a hash?
- How can I use cookies bcrypt to create a user?
- How can I use cookies and bcrypt to log in a user?
- How can I see the currently logged in user?
- How can I log out a user?