This commit is contained in:
Timothy Jaeryang Baek
2026-05-09 01:55:51 +09:00
parent ef6d4f2d6c
commit fd3368c0bf
2 changed files with 13 additions and 0 deletions
+12
View File
@@ -522,6 +522,18 @@ async def ldap_auth(
db=db,
)
if request.app.state.config.WEBHOOK_URL:
await post_webhook(
request.app.state.WEBUI_NAME,
request.app.state.config.WEBHOOK_URL,
WEBHOOK_MESSAGES.USER_SIGNUP(user.name),
{
'action': 'signup',
'message': WEBHOOK_MESSAGES.USER_SIGNUP(user.name),
'user': user.model_dump_json(exclude_none=True),
},
)
except HTTPException:
raise
except Exception as err:
+1
View File
@@ -193,6 +193,7 @@ class SharingPermissions(BaseModel):
public_skills: bool = False
notes: bool = False
public_notes: bool = True
public_chats: bool = False
class AccessGrantsPermissions(BaseModel):