Add variables for reCAPTCHA validation
This commit is contained in:
@ -162,6 +162,11 @@ matrix_synapse_allow_public_rooms_over_federation: false
|
||||
# Controls whether people with access to the homeserver can register by themselves.
|
||||
matrix_synapse_enable_registration: false
|
||||
|
||||
# reCAPTCHA API for validating registration attempts
|
||||
matrix_synapse_enable_registration_captcha: false
|
||||
matrix_synapse_recaptcha_public_key: ''
|
||||
matrix_synapse_recaptcha_private_key: ''
|
||||
|
||||
# Allows non-server-admin users to create groups on this server
|
||||
matrix_synapse_enable_group_creation: false
|
||||
|
||||
|
@ -934,18 +934,18 @@ url_preview_accept_language:
|
||||
# This homeserver's ReCAPTCHA public key. Must be specified if
|
||||
# enable_registration_captcha is enabled.
|
||||
#
|
||||
#recaptcha_public_key: "YOUR_PUBLIC_KEY"
|
||||
#recaptcha_public_key: {{ matrix_synapse_recaptcha_public_key }}
|
||||
|
||||
# This homeserver's ReCAPTCHA private key. Must be specified if
|
||||
# enable_registration_captcha is enabled.
|
||||
#
|
||||
#recaptcha_private_key: "YOUR_PRIVATE_KEY"
|
||||
#recaptcha_private_key: {{ matrix_synapse_recaptcha_private_key }}
|
||||
|
||||
# Uncomment to enable ReCaptcha checks when registering, preventing signup
|
||||
# unless a captcha is answered. Requires a valid ReCaptcha
|
||||
# public/private key. Defaults to 'false'.
|
||||
#
|
||||
#enable_registration_captcha: true
|
||||
enable_registration_captcha: {{ matrix_synapse_enable_registration_captcha }}
|
||||
|
||||
# The API endpoint to use for verifying m.login.recaptcha responses.
|
||||
# Defaults to "https://www.recaptcha.net/recaptcha/api/siteverify".
|
||||
|
Reference in New Issue
Block a user