This commit is contained in:
Zai Shi 2025-07-24 14:31:03 -07:00
parent 5d7bcc09d6
commit 3626c5c609

View File

@ -46,7 +46,7 @@ export const teamsCrudHandlers = createLazyProxy(() => createCrudHandlers(teamsC
throw new KnownErrors.UserAuthenticationRequired;
}
if (!auth.tenancy.config.client_team_creation_enabled) {
if (!auth.tenancy.config.teams.allowClientTeamCreation) {
throw new StatusError(StatusError.Forbidden, 'Client team creation is disabled for this project');
}