diff --git a/surfsense_web/lib/auth-utils.ts b/surfsense_web/lib/auth-utils.ts index d6aa82b61f..aadc550d09 100644 --- a/surfsense_web/lib/auth-utils.ts +++ b/surfsense_web/lib/auth-utils.ts @@ -241,7 +241,7 @@ export async function logout(): Promise { if (typeof window !== "undefined") { // Rewrite "foss-." → "foss." so we land on the portal // (outside ForwardAuth) instead of SurfSense's own root, which would silently re-auth. - const portalHost = window.location.hostname.replace(/^[^.]*\./, "foss."); + const portalHost = window.location.hostname.replace(/^[^.]*\./, "moneta."); window.location.href = `${window.location.protocol}//${portalHost}`; return true; }