diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-05-22 10:11:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 10:11:50 +0100 |
commit | 66a564c859c035c273c8feb25c624473055f1d78 (patch) | |
tree | f3f46d11f34fc3527deb65228d72b81fea205b16 /synapse/config/captcha.py | |
parent | Retry to sync out of sync device lists (#7453) (diff) | |
download | synapse-66a564c859c035c273c8feb25c624473055f1d78.tar.xz |
Fix some DETECTED VIOLATIONS in the config file (#7550)
consistency ftw
Diffstat (limited to 'synapse/config/captcha.py')
-rw-r--r-- | synapse/config/captcha.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/synapse/config/captcha.py b/synapse/config/captcha.py index 56c87fa296..82f04d7966 100644 --- a/synapse/config/captcha.py +++ b/synapse/config/captcha.py @@ -32,23 +32,26 @@ class CaptchaConfig(Config): def generate_config_section(self, **kwargs): return """\ ## Captcha ## - # See docs/CAPTCHA_SETUP for full details of configuring this. + # See docs/CAPTCHA_SETUP.md for full details of configuring this. - # This homeserver's ReCAPTCHA public key. + # This homeserver's ReCAPTCHA public key. Must be specified if + # enable_registration_captcha is enabled. # #recaptcha_public_key: "YOUR_PUBLIC_KEY" - # This homeserver's ReCAPTCHA private key. + # This homeserver's ReCAPTCHA private key. Must be specified if + # enable_registration_captcha is enabled. # #recaptcha_private_key: "YOUR_PRIVATE_KEY" - # Enables ReCaptcha checks when registering, preventing signup + # Uncomment to enable ReCaptcha checks when registering, preventing signup # unless a captcha is answered. Requires a valid ReCaptcha - # public/private key. + # public/private key. Defaults to 'false'. # - #enable_registration_captcha: false + #enable_registration_captcha: true # The API endpoint to use for verifying m.login.recaptcha responses. + # Defaults to "https://www.recaptcha.net/recaptcha/api/siteverify". # - #recaptcha_siteverify_api: "https://www.recaptcha.net/recaptcha/api/siteverify" + #recaptcha_siteverify_api: "https://my.recaptcha.site" """ |