Bug Description
Description
frontend/src/context/authContext.tsx line 69 navigates to /login when token verification fails, but App.tsx defines no /login route. The navigation falls through the * catch-all (App.tsx line 105) and lands on /.
Impact
A user with an expired/invalid token is silently dumped on the home page instead of the auth screen, with no indication they were logged out.
Suggested Fix
Redirect to the actual auth route (/auth — see App.tsx route list), or add a /login alias route.
Steps to Reproduce
No response
Logs and Screenshots
No response
Environment Details
No response
Impact
High - Major feature is broken
Code of Conduct
Bug Description
Description
frontend/src/context/authContext.tsxline 69 navigates to/loginwhen token verification fails, butApp.tsxdefines no/loginroute. The navigation falls through the*catch-all (App.tsx line 105) and lands on/.Impact
A user with an expired/invalid token is silently dumped on the home page instead of the auth screen, with no indication they were logged out.
Suggested Fix
Redirect to the actual auth route (
/auth— see App.tsx route list), or add a/loginalias route.Steps to Reproduce
No response
Logs and Screenshots
No response
Environment Details
No response
Impact
High - Major feature is broken
Code of Conduct