Skip to content

Conversation

@AntonioWorkman
Copy link

PROJECT CONTRIBUTIONS ARE ALLOWED AND WELCOMED. Follow the guidelines as outlined below!

Description

  1. Using context() hook, user login authentication was completed.
  2. When the login was successful, the user will be sent to the home page using the useHistory hook.
  3. If the incorrect page was entered, the user will be redirected to the error 404 page.
  4. If the user attempts to go the the home page without being signed in, the user was redirected to the login page.
  5. The logout button was added to allow the user to sign out and be redirected to the login page.

Related Issue / Asana Task

Motivation and Context

This change allows for greater security.

How Has This Been Tested?

Screenshots (if appropriate):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant