Fixed signups and oauth buttons now only show if enabled
The signup form now works and the oauth buttons are only visible if they have been enabled in the settings.json file
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
"branding":{
|
||||
"name":"AiThingy"
|
||||
},
|
||||
"auth_mode":"code",
|
||||
"signup_mode":"code",
|
||||
"default_role":"none",
|
||||
"default_permissions":[
|
||||
"createChat"
|
||||
],
|
||||
"auth_codes":[
|
||||
"signup_codes":[
|
||||
{
|
||||
"name":"code1",
|
||||
"code":"a1b2c3",
|
||||
@@ -29,5 +29,6 @@
|
||||
"enabled":"true",
|
||||
"client_id":"client_id",
|
||||
"client_secret":"client_secret"
|
||||
}
|
||||
},
|
||||
"mongo_password":"yourMongoPassword"
|
||||
}
|
||||
Reference in New Issue
Block a user