Skip to content

Commit

Permalink
Merge pull request #3060 from etkecc/fix-chatgpt-auth
Browse files Browse the repository at this point in the history
add automatic registration of chatgpt bot's user (if password is provided)
  • Loading branch information
spantaleev authored Dec 23, 2023
2 parents 11ee949 + 87a7433 commit da27655
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions group_vars/matrix_servers
Original file line number Diff line number Diff line change
Expand Up @@ -4303,6 +4303,12 @@ matrix_user_creator_users_auto: |
'initial_type': 'admin',
}] 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,
'initial_password': matrix_bot_matrix_reminder_bot_matrix_user_password,
Expand Down

0 comments on commit da27655

Please sign in to comment.