mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
fix
This commit is contained in:
parent
5d7bcc09d6
commit
3626c5c609
@ -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');
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user