mirror of
https://github.com/wassname/talk.git
synced 2026-09-17 12:50:55 +08:00
feat: added allowRegistration option
This commit is contained in:
@@ -136,6 +136,7 @@ export async function createOIDCAuthIntegration(
|
||||
// Create the integration. By default, the integration is disabled.
|
||||
const result = await createTenantOIDCAuthIntegration(mongo, tenant.id, {
|
||||
enabled: false,
|
||||
allowRegistration: false,
|
||||
...input,
|
||||
});
|
||||
if (!result.wasCreated || !result.tenant) {
|
||||
|
||||
Reference in New Issue
Block a user