- Prevent access to content with a request filter.
- Request filter runs after the router has selected a router with controller and action.
- Make sure that we do not limit access to the authentication pages and register pages.
Implement:
- The new routes to the router.
- The onrAuthController class to the autoload file.
- The filter logic in the configuration object.
- Template views to configuration object.
- Templates
- A "login required" action which a user gets redirected too.
- A "login" and "logout" action.
- A "register" and "register submit" action.