From 6cf7e15576fb910ed9ac6220fba01854845e6ed1 Mon Sep 17 00:00:00 2001 From: Johannes <69789894+Audiotape-2@users.noreply.github.com> Date: Wed, 2 Apr 2025 06:34:43 +0000 Subject: [PATCH] Set correct variable name in docs Tenancy mode is set via SOURCEBOT_TENANCY_MODE, not SOURCEBOT_AUTH_ENABLED --- docs/self-hosting/more/tenancy.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/self-hosting/more/tenancy.mdx b/docs/self-hosting/more/tenancy.mdx index af2b0f56..bbf3e18e 100644 --- a/docs/self-hosting/more/tenancy.mdx +++ b/docs/self-hosting/more/tenancy.mdx @@ -6,7 +6,7 @@ sidebarTitle: Multi tenancy If you're switching from single-tenant mode, delete the Sourcebot cache (the `.sourcebot` folder) before starting. [Authentication](/self-hosting/more/authentication) must be enabled to enable multi tenancy mode Multi tenancy allows your Sourcebot deployment to have **multiple organizations**, each with their own set of members and repos. To enable multi tenancy mode, define an environment variable -named `SOURCEBOT_AUTH_ENABLED` and set its value to `multi`. When multi tenancy mode is enabled: +named `SOURCEBOT_TENANCY_MODE` and set its value to `multi`. When multi tenancy mode is enabled: - Any members or repos that are configured in an organization are isolated to that organization - Members must be invited to an organization to gain access @@ -24,4 +24,4 @@ the organization will be the Owner. To switch between organizations, press the drop down on the top left of the navigation menu. This also provides an option to create a new organization: -![Org switching](/images/org_switch.png) \ No newline at end of file +![Org switching](/images/org_switch.png)