mirror of
https://github.com/wassname/talk.git
synced 2026-08-14 12:50:17 +08:00
feat: added allowRegistration option
This commit is contained in:
@@ -86,16 +86,20 @@ export async function createTenant(mongo: Db, input: CreateTenantInput) {
|
||||
integrations: {
|
||||
local: {
|
||||
enabled: true,
|
||||
allowRegistration: true,
|
||||
},
|
||||
sso: {
|
||||
enabled: false,
|
||||
allowRegistration: false,
|
||||
},
|
||||
oidc: [],
|
||||
google: {
|
||||
enabled: false,
|
||||
allowRegistration: false,
|
||||
},
|
||||
facebook: {
|
||||
enabled: false,
|
||||
allowRegistration: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user