From 852f9edb960a512b4c9ce20657afa5701ecca3b3 Mon Sep 17 00:00:00 2001 From: JCEEE <0xjceee@proton.me> Date: Mon, 31 Aug 2026 15:34:34 +0100 Subject: [PATCH] update some minor auth ux issues --- frontend/src/routes/[fam]/+layout.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frontend/src/routes/[fam]/+layout.svelte b/frontend/src/routes/[fam]/+layout.svelte index 7cf9d3e..47865cf 100644 --- a/frontend/src/routes/[fam]/+layout.svelte +++ b/frontend/src/routes/[fam]/+layout.svelte @@ -22,11 +22,8 @@ let accessReason = $derived(data.famAccess?.reason || ''); // Settings stays usable while paused so admins can apply a code / manage billing. let hasAuth = $derived(!!data.session); - let locked = $derived(disabled && !page.url.pathname.endsWith('/settings')); + let locked = $derived((disabled && !page.url.pathname.endsWith('/settings')) || !hasAuth); - $effect(() => { - console.log(data, page.url.pathname.includes('/join'), locked); - }); // ── Post-checkout activation (event-driven) ── // Landing with ?checkout=return: if the webhook has already landed we show // the welcome notice; otherwise show an "activating" state and wait for the