Require Authentication4:19 with Alena Holligan
We need another function that we can use, on pages that require authentication. This requireAuth function will use our isAuthenticated function.
Requiring Authentication on Pages
Add requireAuth(); to the following files
You need to sign up for Treehouse in order to download course files.Sign up