Authentication
This is a simple example of an authentication form. It uses
- the
formcomponent to create a login form - the
authenticationcomponent to check the user password - the
cookiecomponent to store a unique session token in the user browser - the
redirectcomponent to redirect the user to the login page if they are not logged in
Example credentials
- Username:
admin, Password:admin - Username:
user, Password:user