-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestHacktoberfest Accepted IssuesHacktoberfest Accepted Issues
Description
Describe the bug
- Currently one can still access the dashboard even when one is not logged in, or even when the user's authentication token has expired.
To Reproduce
- Logout of the application if you are logged in
- Go to http://app.localhost:3000/dashboard
- You are still able to access the dashboard
Expected behavior
I think that if the user is not logged in or if their authentication token has expired, and he/she tries to access the dashboard or any of its child routes, the user should be redirected to the login page. We should protect this route. This leads to a better user experience.
Screenshots/Videos
Additional context
No response
Please checkmark the following checklist
- I make sure that similar issue is not opened
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestHacktoberfest Accepted IssuesHacktoberfest Accepted Issues