Skip to content

Commit 616d35a

Browse files
committed
Fix basic auth for non-ee
1 parent ba82888 commit 616d35a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/onyx/auth/users.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
from onyx.utils.variable_functionality import fetch_versioned_implementation
106106
from shared_configs.configs import async_return_default_schema
107107
from shared_configs.configs import MULTI_TENANT
108+
from shared_configs.configs import POSTGRES_DEFAULT_SCHEMA
108109
from shared_configs.contextvars import CURRENT_TENANT_ID_CONTEXTVAR
109110
from shared_configs.contextvars import get_current_tenant_id
110111

@@ -593,7 +594,7 @@ async def authenticate(
593594
tenant_id = fetch_ee_implementation_or_noop(
594595
"onyx.server.tenants.provisioning",
595596
"get_tenant_id_for_email",
596-
None,
597+
POSTGRES_DEFAULT_SCHEMA,
597598
)(
598599
email=email,
599600
)

0 commit comments

Comments
 (0)