Sfoglia il codice sorgente

dendrite_recaptcha_siteverify_api

pull/1971/head
Maxdeso 3 anni fa
parent
commit
75961359fb
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      roles/matrix-dendrite/defaults/main.yml
  2. +1
    -1
      roles/matrix-dendrite/templates/dendrite/dendrite.yaml.j2

+ 1
- 0
roles/matrix-dendrite/defaults/main.yml Vedi File

@@ -89,6 +89,7 @@ matrix_dendrite_registration_disabled: false
matrix_dendrite_enable_registration_captcha: false matrix_dendrite_enable_registration_captcha: false
matrix_dendrite_recaptcha_public_key: "" matrix_dendrite_recaptcha_public_key: ""
matrix_dendrite_recaptcha_private_key: "" matrix_dendrite_recaptcha_private_key: ""
matrix_dendrite_recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"


# A list of additional "volumes" to mount in the container. # A list of additional "volumes" to mount in the container.
# This list gets populated dynamically based on Dendrite extensions that have been enabled. # This list gets populated dynamically based on Dendrite extensions that have been enabled.


+ 1
- 1
roles/matrix-dendrite/templates/dendrite/dendrite.yaml.j2 Vedi File

@@ -174,7 +174,7 @@ client_api:
recaptcha_public_key: {{ matrix_dendrite_recaptcha_public_key|to_json }} recaptcha_public_key: {{ matrix_dendrite_recaptcha_public_key|to_json }}
recaptcha_private_key: {{ matrix_dendrite_recaptcha_private_key|to_json }} recaptcha_private_key: {{ matrix_dendrite_recaptcha_private_key|to_json }}
recaptcha_bypass_secret: "" recaptcha_bypass_secret: ""
recaptcha_siteverify_api: ""
recaptcha_siteverify_api: {{ matrix_dendrite_recaptcha_siteverify_api|to_json }}


# TURN server information that this homeserver should send to clients. # TURN server information that this homeserver should send to clients.
turn: turn:


Caricamento…
Annulla
Salva