feat: added allowRegistration option

This commit is contained in:
Wyatt Johnson
2018-10-25 12:57:20 -06:00
parent d1e6d297f3
commit 3c613754f0
8 changed files with 121 additions and 57 deletions
+4
View File
@@ -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,
},
},
},