Explorar el Código

added dendrite captcha options

pull/2290/head
array-in-a-matrix hace 3 años
committed by Slavi Pantaleev
padre
commit
b679e1297e
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. +3
    -0
      roles/custom/matrix-dendrite/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2

+ 3
- 0
roles/custom/matrix-dendrite/defaults/main.yml Ver fichero

@@ -101,6 +101,9 @@ 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" matrix_dendrite_recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"
matrix_dendrite_recaptcha_api_js_url: ""
matrix_dendrite_recaptcha_form_field: ""
matrix_dendrite_recaptcha_sitekey_class: ""


# 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.


+ 3
- 0
roles/custom/matrix-dendrite/templates/dendrite/dendrite.yaml.j2 Ver fichero

@@ -193,6 +193,9 @@ client_api:
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: {{ matrix_dendrite_recaptcha_siteverify_api|to_json }} recaptcha_siteverify_api: {{ matrix_dendrite_recaptcha_siteverify_api|to_json }}
recaptcha_api_js_url: ""
recaptcha_form_field: ""
recaptcha_sitekey_class: ""


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


Cargando…
Cancelar
Guardar