Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exercise 03 #7

Open
wants to merge 4 commits into
base: exercise-03
Choose a base branch
from

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