- Adding User Login 1:16
- Tracking Visits With Sessions and Cookies 2:22
- Working with Sessions in Express 3:28
- Review: Sessions, Cookies and Express 5 questions
- Adding Log In Routes 1:39
- Creating a Login Form With Pug (Jade) 2:48
- Authenticating the Username and Password 7:28
- Creating the Profile Route and Page 3:53
- Review: Login Routes 5 questions
Well done!
You have completed Review: Sessions, Cookies and Express!
Quiz Question 1 of 5
var session = require('express-session');
app.use(session({
secret: 'treehouse loves you',
resave: true,
saveUninitialized: false
}));
In the above code, what does the
secret
option do?
Choose the correct answer below: