diff --git a/networksso.js b/networksso.js index c886b0f..6f08e6c 100644 --- a/networksso.js +++ b/networksso.js @@ -172,7 +172,7 @@ async function handle(req, res, u) { if (!cookie) { log('fallback to email code: session not made', v.email); return go(res, C.signinPath(v.to), set); } set.push(cookie); if (c['nsso.off']) set.push(ck('nsso.off', '', 0, true)); log('signed in from ' + peerName, v.email); - return go(res, C.landing(v.to), set); + return go(res, C.landing(v.to === '/' ? C.defaultPath : v.to), set); // no page named: the dashboard, not the public home page (2026-11-13) } if (p === '/api/sso/status') { const c = cookies(req); const set = [];