diff --git a/CHANGELOG.md b/CHANGELOG.md index 47ea25d49..3d8b56994 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed +- Fixed issue where anonymous access on a Sourcebot instance with a unlimited seat license and anonymous access enabled would result in a "not authenticated" message being displayed. [#866](https://github.com/sourcebot-dev/sourcebot/pull/866) + ## [4.10.28] - 2026-02-07 ### Added diff --git a/packages/web/src/app/[domain]/layout.tsx b/packages/web/src/app/[domain]/layout.tsx index f2085757a..2233e77ca 100644 --- a/packages/web/src/app/[domain]/layout.tsx +++ b/packages/web/src/app/[domain]/layout.tsx @@ -126,7 +126,7 @@ export default async function Layout(props: LayoutProps) { ) } - if (hasEntitlement("permission-syncing")) { + if (session && hasEntitlement("permission-syncing")) { const linkedAccountProviderStates = await getLinkedAccountProviderStates(); if (isServiceError(linkedAccountProviderStates)) { return (