Parcourir la source

Merge pull request #3060 from etkecc/fix-chatgpt-auth

add automatic registration of chatgpt bot's user (if password is provided)
pull/3063/head
Slavi Pantaleev il y a 2 ans
committed by GitHub
Parent
révision
da27655ef3
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. +6
    -0
      group_vars/matrix_servers

+ 6
- 0
group_vars/matrix_servers Voir le fichier

@@ -4303,6 +4303,12 @@ matrix_user_creator_users_auto: |
'initial_type': 'admin', 'initial_type': 'admin',
}] if matrix_bot_matrix_registration_bot_enabled else []) }] if matrix_bot_matrix_registration_bot_enabled else [])
+ +
([{
'username': matrix_bot_chatgpt_matrix_bot_username_localpart,
'initial_password': matrix_bot_chatgpt_matrix_bot_password,
'initial_type': 'bot',
}] if matrix_bot_chatgpt_enabled and matrix_bot_chatgpt_matrix_bot_password | length > 0 else [])
+
([{ ([{
'username': matrix_bot_matrix_reminder_bot_matrix_user_id_localpart, 'username': matrix_bot_matrix_reminder_bot_matrix_user_id_localpart,
'initial_password': matrix_bot_matrix_reminder_bot_matrix_user_password, 'initial_password': matrix_bot_matrix_reminder_bot_matrix_user_password,


Chargement…
Annuler
Enregistrer