The signup form now works and the oauth buttons are only visible if they have been enabled in the settings.json file
34 lines
697 B
JSON
34 lines
697 B
JSON
{
|
|
"branding":{
|
|
"name":"AiThingy"
|
|
},
|
|
"signup_mode":"code",
|
|
"default_role":"none",
|
|
"default_permissions":[
|
|
"createChat"
|
|
],
|
|
"signup_codes":[
|
|
{
|
|
"name":"code1",
|
|
"code":"a1b2c3",
|
|
"role":"user"
|
|
},
|
|
{
|
|
"name":"code2",
|
|
"code":"a1b2c3",
|
|
"role":"admin"
|
|
},
|
|
{
|
|
"name":"code3",
|
|
"code":"a1b2c3",
|
|
"role":"guest"
|
|
}
|
|
],
|
|
"oauth_login":"true",
|
|
"github_oauth":{
|
|
"enabled":"true",
|
|
"client_id":"client_id",
|
|
"client_secret":"client_secret"
|
|
},
|
|
"mongo_password":"yourMongoPassword"
|
|
} |