The advent calendar tutorial is progressing, and it's already the sixth day.
Today, we will describe the way to restrict access to some parts of the site to authenticated users. The form validation process will also be illustrated by the login form rules.
Don't hesitate to download the code of the day 5 before starting, since we did some refactoring yesterday. And remember to clear the cache as soon as you modify the configuration or as you add classes to the model, or you will probably get errors in the production environment.