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:
2025-08-26 12:16:22 +01:00
parent 349a4192e0
commit 716a4c6148
4 changed files with 17 additions and 11 deletions

View File

@@ -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"
}