[Bug]: Can access dashboard, even when not logged in #102
Labels
bug
Something isn't working
good first issue
Good for newcomers
hacktoberfest
Hacktoberfest Accepted Issues
Describe the bug
To Reproduce
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
The text was updated successfully, but these errors were encountered: