Fix recaptcha vars ansible-vault compatibility

This commit is contained in:
Kanlas 2023-04-16 18:52:12 +03:00 committed by GitHub
parent 0adb0fdce7
commit 9c75a1e20d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1223,12 +1223,12 @@ oembed:
# This homeserver's ReCAPTCHA public key. Must be specified if
# enable_registration_captcha is enabled.
#
recaptcha_public_key: {{ matrix_synapse_recaptcha_public_key|to_json }}
recaptcha_public_key: {{ matrix_synapse_recaptcha_public_key|string|to_json }}
# This homeserver's ReCAPTCHA private key. Must be specified if
# enable_registration_captcha is enabled.
#
recaptcha_private_key: {{ matrix_synapse_recaptcha_private_key|to_json }}
recaptcha_private_key: {{ matrix_synapse_recaptcha_private_key|string|to_json }}
# Uncomment to enable ReCaptcha checks when registering, preventing signup
# unless a captcha is answered. Requires a valid ReCaptcha