Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed User Authentication With Express and Mongo!
You have completed User Authentication With Express and Mongo!
Preview
Learn how to use session variables to provide custom information for your site's users. Using session variables, you can identify and particular user and provide information tailored to their needs.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
aspects of a user authentication
system to our project.
0:00
The user can sign up on the site, log in,
and visit pages that only they can view.
0:00
In this section of the course
we'll refine our application.
0:06
First we'll add logic to
our template files so
0:09
they display different information
based on a user's logon status.
0:11
We'll also add a log out feature so
a user can safely log out without
0:15
fear that someone might jump on
their computer and impersonate them.
0:19
I'll also show you how to write custom
middleware to add two simple methods
0:23
that'll let you control routes based
on whether a user is logged in or not.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up