summary refs log tree commit diff
path: root/synapse/config/captcha.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-02-19 13:54:29 +0000
committerRichard van der Hoff <richard@matrix.org>2019-02-19 13:54:29 +0000
commit5f9bdf90fe6baf12972d9f94557b3077f008cd9b (patch)
treeecfaa199e18456ac77f869ec0d2a98cbf2575d94 /synapse/config/captcha.py
parentclarify TLS instructions (diff)
downloadsynapse-5f9bdf90fe6baf12972d9f94557b3077f008cd9b.tar.xz
Attempt to make default config more consistent
The general idea here is that config examples should just have a hash and no
extraneous whitespace, both to make it easier for people who don't understand
yaml, and to make the examples stand out from the comments.
Diffstat (limited to 'synapse/config/captcha.py')
-rw-r--r--synapse/config/captcha.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/captcha.py b/synapse/config/captcha.py
index 7ba0c2de6a..4064891ffb 100644
--- a/synapse/config/captcha.py
+++ b/synapse/config/captcha.py
@@ -30,14 +30,17 @@ class CaptchaConfig(Config):
         # See docs/CAPTCHA_SETUP for full details of configuring this.
 
         # This Home Server's ReCAPTCHA public key.
+        #
         recaptcha_public_key: "YOUR_PUBLIC_KEY"
 
         # This Home Server's ReCAPTCHA private key.
+        #
         recaptcha_private_key: "YOUR_PRIVATE_KEY"
 
         # Enables ReCaptcha checks when registering, preventing signup
         # unless a captcha is answered. Requires a valid ReCaptcha
         # public/private key.
+        #
         enable_registration_captcha: False
 
         # A secret key used to bypass the captcha test entirely.