Authentication

Authentication

This is a simple example of an authentication form. It uses

  • the form component to create a login form
  • the authentication component to check the user password
  • the cookie component to store a unique session token in the user browser
  • the redirect component to redirect the user to the login page if they are not logged in

Example credentials

  • Username: admin, Password: admin
  • Username: user, Password: user