Skip to content

Commit cbc0c2b

Browse files
authored
Set correct variable name in docs (#257)
Tenancy mode is set via SOURCEBOT_TENANCY_MODE, not SOURCEBOT_AUTH_ENABLED
1 parent ef5ad15 commit cbc0c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/self-hosting/more/tenancy.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebarTitle: Multi tenancy
66
<Warning>If you're switching from single-tenant mode, delete the Sourcebot cache (the `.sourcebot` folder) before starting.</Warning>
77
<Warning>[Authentication](/self-hosting/more/authentication) must be enabled to enable multi tenancy mode</Warning>
88
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
9-
named `SOURCEBOT_AUTH_ENABLED` and set its value to `multi`. When multi tenancy mode is enabled:
9+
named `SOURCEBOT_TENANCY_MODE` and set its value to `multi`. When multi tenancy mode is enabled:
1010

1111
- Any members or repos that are configured in an organization are isolated to that organization
1212
- Members must be invited to an organization to gain access
@@ -24,4 +24,4 @@ the organization will be the Owner.
2424

2525
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:
2626

27-
![Org switching](/images/org_switch.png)
27+
![Org switching](/images/org_switch.png)

0 commit comments

Comments
 (0)