Summary
After a successful login through the bundled users module, Login.tsx redirects to /dashboard/:
// users/pages/Login.tsx:37
new URLSearchParams(window.location.search).get('next') || '/dashboard/'
But neither the users module nor the host scaffold registers a route at /dashboard/, so a freshly scaffolded sm new --preset full app shows 404 the moment a user logs in.
Resolved in commit ade3e24 (PR #98). users.login_redirect_url is now a configurable module setting; Login.tsx reads it from shared props and falls back gracefully when the dashboard module isn't installed.
Summary
After a successful login through the bundled
usersmodule,Login.tsxredirects to/dashboard/:But neither the
usersmodule nor the host scaffold registers a route at/dashboard/, so a freshly scaffoldedsm new --preset fullapp shows 404 the moment a user logs in.Resolved in commit ade3e24 (PR #98).
users.login_redirect_urlis now a configurable module setting;Login.tsxreads it from shared props and falls back gracefully when thedashboardmodule isn't installed.