Problem:
The /edit route should require authentication. Currently, unauthenticated users may access the route without being prompted to log in.
Tasks:
- Add a login-gate component (
Login Required) before showing /edit form content.
- If not authenticated, show a clear "Login Required" prompt.
- After successful login, redirect to the originally requested
/edit route.
Acceptance Criteria:
- Unauthenticated users are prompted to log in when accessing
/edit.
- After login, users are directed back to their intended edit route.
Problem:
The
/editroute should require authentication. Currently, unauthenticated users may access the route without being prompted to log in.Tasks:
Login Required) before showing/editform content./editroute.Acceptance Criteria:
/edit.