Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Comments

@Fleury14
Copy link
Collaborator

Desired Behavior

Navigating to the order form or the order list should not be possible without being logged in. Should someone attempt to do so, they should be taken to the login page.

Current Behavior

There is no route guarding, so users can place and view orders without being logged in.

bip12 referenced this issue in bip12/react-challenge-project-jan-2022 Jan 11, 2022
@T145 T145 linked a pull request Jan 13, 2022 that will close this issue
JimOtermat2 referenced this issue in JimOtermat2/bitwise-react-challenge-project Aug 8, 2022
Add new class, GuardedRoute, and change the order and order list pages over
to that new type of route to prevent access without being logged in.

Implements #6
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.